pub struct VerifiedPassport {
pub subject: String,
pub issuer: PublicKey,
pub issued_at: u64,
pub expires_at: u64,
pub evaluated_at: u64,
pub payload_canonical_bytes: Vec<u8>,
}Expand description
The subset of a verified portable passport that callers actually
need downstream. Mirrors crate::VerifiedCapability in shape.
Fields§
§subject: StringSubject identifier the envelope binds to.
issuer: PublicKeyIssuer public key that signed the envelope.
issued_at: u64Unix timestamp the envelope was issued at.
expires_at: u64Unix timestamp the envelope expires at.
evaluated_at: u64Clock value at which verification succeeded.
payload_canonical_bytes: Vec<u8>Canonical-JSON bytes of the authenticated payload (caller may
decode these into the native AgentPassport or any other
projection downstream).
Trait Implementations§
Source§impl Clone for VerifiedPassport
impl Clone for VerifiedPassport
Source§fn clone(&self) -> VerifiedPassport
fn clone(&self) -> VerifiedPassport
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 VerifiedPassport
impl Debug for VerifiedPassport
Source§impl PartialEq for VerifiedPassport
impl PartialEq for VerifiedPassport
impl Eq for VerifiedPassport
impl StructuralPartialEq for VerifiedPassport
Auto Trait Implementations§
impl Freeze for VerifiedPassport
impl RefUnwindSafe for VerifiedPassport
impl Send for VerifiedPassport
impl Sync for VerifiedPassport
impl Unpin for VerifiedPassport
impl UnsafeUnpin for VerifiedPassport
impl UnwindSafe for VerifiedPassport
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