pub struct AuthzContext<'a> {
pub action: &'a str,
pub identity: &'a Identity,
pub resource_id: Option<&'a str>,
}Fields§
§action: &'a str§identity: &'a Identity§resource_id: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for AuthzContext<'a>
impl<'a> Clone for AuthzContext<'a>
Source§fn clone(&self) -> AuthzContext<'a>
fn clone(&self) -> AuthzContext<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for AuthzContext<'a>
impl<'a> RefUnwindSafe for AuthzContext<'a>
impl<'a> Send for AuthzContext<'a>
impl<'a> Sync for AuthzContext<'a>
impl<'a> Unpin for AuthzContext<'a>
impl<'a> UnsafeUnpin for AuthzContext<'a>
impl<'a> UnwindSafe for AuthzContext<'a>
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