pub struct Authentication<'a> {
pub vault: [u8; 32],
pub genesis: [u8; 32],
pub device: [u8; 32],
pub head: [u8; 32],
pub bearer: &'a Secret,
}Expand description
Explicit current-head request context. Historical outcomes cannot authenticate it.
Fields§
§vault: [u8; 32]§genesis: [u8; 32]§device: [u8; 32]§head: [u8; 32]§bearer: &'a SecretAuto Trait Implementations§
impl<'a> Freeze for Authentication<'a>
impl<'a> RefUnwindSafe for Authentication<'a>
impl<'a> Send for Authentication<'a>
impl<'a> Sync for Authentication<'a>
impl<'a> Unpin for Authentication<'a>
impl<'a> UnsafeUnpin for Authentication<'a>
impl<'a> UnwindSafe for Authentication<'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