pub struct AuthToken {
pub agent_id: String,
pub challenge: Vec<u8>,
pub response: Vec<u8>,
pub timestamp: u64,
}Expand description
A challenge-response token for authentication.
Fields§
§agent_id: String§challenge: Vec<u8>§response: Vec<u8>§timestamp: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthToken
impl RefUnwindSafe for AuthToken
impl Send for AuthToken
impl Sync for AuthToken
impl Unpin for AuthToken
impl UnsafeUnpin for AuthToken
impl UnwindSafe for AuthToken
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