Skip to main content

record_page

Function record_page 

Source
pub fn record_page<R: Resource, P: RecordPage<R>>(
    cx: &Cx,
    record: &R::Model,
) -> Option<String>
Expand description

record’s record page P, e.g. /admin/orders/42/history, or None when R does not declare P. The URL answers 403 to a request the page’s access refuses.