pub struct BootstrapNonceEntry {
pub nonce: String,
pub hostname: String,
pub expires_at: DateTime<Utc>,
pub minted_at: Option<DateTime<Utc>>,
pub minted_by: Option<String>,
}Fields§
§nonce: StringToken claim - matches BootstrapToken.claims.nonce exactly.
hostname: StringToken claim must match this. Defends against mis-targeted token swap (token A presented as if it were for host B).
expires_at: DateTime<Utc>Authoritative validity window. May be tighter than the token’s own
expires_at claim; cannot extend past it (the token’s own claim
is still checked separately).
minted_at: Option<DateTime<Utc>>Optional audit field.
minted_by: Option<String>Optional audit field.
Trait Implementations§
Source§impl Clone for BootstrapNonceEntry
impl Clone for BootstrapNonceEntry
Source§fn clone(&self) -> BootstrapNonceEntry
fn clone(&self) -> BootstrapNonceEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BootstrapNonceEntry
impl Debug for BootstrapNonceEntry
Source§impl<'de> Deserialize<'de> for BootstrapNonceEntry
impl<'de> Deserialize<'de> for BootstrapNonceEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BootstrapNonceEntry
impl PartialEq for BootstrapNonceEntry
Source§impl Serialize for BootstrapNonceEntry
impl Serialize for BootstrapNonceEntry
impl StructuralPartialEq for BootstrapNonceEntry
Auto Trait Implementations§
impl Freeze for BootstrapNonceEntry
impl RefUnwindSafe for BootstrapNonceEntry
impl Send for BootstrapNonceEntry
impl Sync for BootstrapNonceEntry
impl Unpin for BootstrapNonceEntry
impl UnwindSafe for BootstrapNonceEntry
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