pub struct VerifiedDat {
pub dat: Dat,
pub subject_did: String,
pub issuer_did: String,
pub scopes: Vec<String>,
pub jti: String,
}Expand description
Information from a successfully verified DAT, injected into request extensions.
Fields§
§dat: DatThe decoded DAT.
subject_did: StringSubject DID (the agent).
issuer_did: StringIssuer DID (the delegator).
scopes: Vec<String>Granted scopes.
jti: StringToken JTI.
Trait Implementations§
Source§impl Clone for VerifiedDat
impl Clone for VerifiedDat
Source§fn clone(&self) -> VerifiedDat
fn clone(&self) -> VerifiedDat
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 moreAuto Trait Implementations§
impl Freeze for VerifiedDat
impl RefUnwindSafe for VerifiedDat
impl Send for VerifiedDat
impl Sync for VerifiedDat
impl Unpin for VerifiedDat
impl UnsafeUnpin for VerifiedDat
impl UnwindSafe for VerifiedDat
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