pub struct AgentClaims {
pub iss: String,
pub dwk: String,
pub sub: String,
pub jti: String,
pub cnf: CnfClaim,
pub iat: i64,
pub exp: i64,
pub ps: Option<String>,
}Expand description
Agent token payload (aa-agent+jwt).
Fields§
§iss: String§dwk: String§sub: String§jti: String§cnf: CnfClaim§iat: i64§exp: i64§ps: Option<String>Trait Implementations§
Source§impl Clone for AgentClaims
impl Clone for AgentClaims
Source§fn clone(&self) -> AgentClaims
fn clone(&self) -> AgentClaims
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§impl Debug for AgentClaims
impl Debug for AgentClaims
Source§impl<'de> Deserialize<'de> for AgentClaims
impl<'de> Deserialize<'de> for AgentClaims
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
impl Eq for AgentClaims
Source§impl PartialEq for AgentClaims
impl PartialEq for AgentClaims
Source§impl Serialize for AgentClaims
impl Serialize for AgentClaims
impl StructuralPartialEq for AgentClaims
Auto Trait Implementations§
impl Freeze for AgentClaims
impl RefUnwindSafe for AgentClaims
impl Send for AgentClaims
impl Sync for AgentClaims
impl Unpin for AgentClaims
impl UnsafeUnpin for AgentClaims
impl UnwindSafe for AgentClaims
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