pub struct Bearer {
pub token: Uuid,
pub principal: Uuid,
pub scopes: Vec<String>,
}Fields§
§token: Uuid§principal: Uuid§scopes: Vec<String>Permission patterns narrowing what the principal holds in a Permitted area.
Auto Trait Implementations§
impl Forget for Bearer
impl Freeze for Bearer
impl RefUnwindSafe for Bearer
impl Send for Bearer
impl Sync for Bearer
impl Unpin for Bearer
impl UnsafeUnpin for Bearer
impl UnwindSafe for Bearer
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