pub struct AuthorizationTarget {
pub path: &'static str,
pub role: AuthorizationRole,
}Expand description
Generated resource guard selected by a protobuf request field path.
Fields§
§path: &'static str§role: AuthorizationRoleTrait Implementations§
Source§impl Clone for AuthorizationTarget
impl Clone for AuthorizationTarget
impl Copy for AuthorizationTarget
Source§impl Debug for AuthorizationTarget
impl Debug for AuthorizationTarget
impl Eq for AuthorizationTarget
Source§impl PartialEq for AuthorizationTarget
impl PartialEq for AuthorizationTarget
impl StructuralPartialEq for AuthorizationTarget
Auto Trait Implementations§
impl Freeze for AuthorizationTarget
impl RefUnwindSafe for AuthorizationTarget
impl Send for AuthorizationTarget
impl Sync for AuthorizationTarget
impl Unpin for AuthorizationTarget
impl UnsafeUnpin for AuthorizationTarget
impl UnwindSafe for AuthorizationTarget
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