pub struct RouteAuthzConfig {
pub relation: String,
pub object: String,
}Expand description
[route.middleware.authz].
Fields§
§relation: String§object: StringAn object template, e.g. doc:{path:2}.
Trait Implementations§
Source§impl Clone for RouteAuthzConfig
impl Clone for RouteAuthzConfig
Auto Trait Implementations§
impl Freeze for RouteAuthzConfig
impl RefUnwindSafe for RouteAuthzConfig
impl Send for RouteAuthzConfig
impl Sync for RouteAuthzConfig
impl Unpin for RouteAuthzConfig
impl UnsafeUnpin for RouteAuthzConfig
impl UnwindSafe for RouteAuthzConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more