pub struct LoginIntent<'a> {
pub purpose: &'static str,
pub repo: Option<&'a str>,
pub human: &'a str,
pub ttl_ms: i64,
pub nonce: &'a str,
pub issued_ms: i64,
}Expand description
What a human signs to open a human session (human.login). Its own
purpose string keeps a login signature from ever passing as an
operation signature, and the other way round.
Fields§
§purpose: &'static str§repo: Option<&'a str>The repository whose enrolment verifies the key; None lets the
daemon look in every repository.
human: &'a str§ttl_ms: i64§nonce: &'a str§issued_ms: i64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for LoginIntent<'a>
impl<'a> Freeze for LoginIntent<'a>
impl<'a> RefUnwindSafe for LoginIntent<'a>
impl<'a> Send for LoginIntent<'a>
impl<'a> Sync for LoginIntent<'a>
impl<'a> Unpin for LoginIntent<'a>
impl<'a> UnsafeUnpin for LoginIntent<'a>
impl<'a> UnwindSafe for LoginIntent<'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