pub fn action<R: Resource, A: Action<R>>(
cx: &Cx,
record: &R::Model,
) -> Option<String>Expand description
The route the action A runs on record at, e.g. /admin/posts/42/-/actions/publish, or
None when R does not declare A on a record: on its rows, detail or edit page.