pub struct RoutePermission {
pub method: &'static str,
pub path: &'static str,
pub permission: Permission,
}Fields§
§method: &'static str§path: &'static str§permission: PermissionAuto Trait Implementations§
impl Forget for RoutePermission
impl Freeze for RoutePermission
impl RefUnwindSafe for RoutePermission
impl Send for RoutePermission
impl Sync for RoutePermission
impl Unpin for RoutePermission
impl UnsafeUnpin for RoutePermission
impl UnwindSafe for RoutePermission
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