pub struct SharedTrustClaims {
pub spec_version: String,
pub kind: String,
pub request_id: Option<String>,
pub profile: TrustProfile,
pub agent_id: String,
pub delegator_id: String,
pub audience: String,
pub action: String,
pub resource: Option<String>,
pub runtime_context: RuntimeContext,
pub identity_document: Option<AgentIdentityDocument>,
pub token: DelegationToken,
}Fields§
§spec_version: String§kind: String§request_id: Option<String>§profile: TrustProfile§agent_id: String§delegator_id: String§audience: String§action: String§resource: Option<String>§runtime_context: RuntimeContext§identity_document: Option<AgentIdentityDocument>§token: DelegationTokenTrait Implementations§
Source§fn clone(&self) -> SharedTrustClaims
fn clone(&self) -> SharedTrustClaims
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 moreSource§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§fn from(request: RequestEnvelope) -> Self
fn from(request: RequestEnvelope) -> Self
Converts to this type from the input type.
Source§fn from(claims: SharedTrustClaims) -> Self
fn from(claims: SharedTrustClaims) -> Self
Converts to this type from the input type.
Source§fn eq(&self, other: &SharedTrustClaims) -> bool
fn eq(&self, other: &SharedTrustClaims) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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