pub struct ValidatedIdentity {
pub claims: NhiClaims,
pub chain_depth: usize,
pub ttl_remaining_s: u64,
}Expand description
A successfully validated identity.
Fields§
§claims: NhiClaimsThe leaf token’s claims.
chain_depth: usizeNumber of delegation links above the leaf (0 = root token).
ttl_remaining_s: u64Seconds of TTL remaining at validation time.
Implementations§
Source§impl ValidatedIdentity
impl ValidatedIdentity
Sourcepub fn agent_identity(&self) -> AgentIdentity
pub fn agent_identity(&self) -> AgentIdentity
The agent identity block to bind into emitted events (Module D → E).
Trait Implementations§
Source§impl Clone for ValidatedIdentity
impl Clone for ValidatedIdentity
Source§fn clone(&self) -> ValidatedIdentity
fn clone(&self) -> ValidatedIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ValidatedIdentity
impl RefUnwindSafe for ValidatedIdentity
impl Send for ValidatedIdentity
impl Sync for ValidatedIdentity
impl Unpin for ValidatedIdentity
impl UnsafeUnpin for ValidatedIdentity
impl UnwindSafe for ValidatedIdentity
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