pub struct Auth {
pub token: Vec<u8>,
pub host: ServiceId,
pub code_hash: OpaqueHash,
pub config: Vec<u8>,
}Expand description
Authorization related stuffs
Fields§
§token: Vec<u8>The authorization token
host: ServiceIdThe authorization host
code_hash: OpaqueHashThe auth code hash
config: Vec<u8>The authorizer config
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Auth
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnwindSafe for Auth
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