pub struct AgentTokenClaims {
pub sub: String,
pub agent_id: String,
pub iss: String,
pub iat: i64,
pub exp: i64,
pub jti: String,
}Expand description
Claims embedded in agent short-lived JWTs.
Fields§
§sub: String§agent_id: String§iss: String§iat: i64§exp: i64§jti: StringUnique token identifier for revocation tracking.
Trait Implementations§
Source§impl Debug for AgentTokenClaims
impl Debug for AgentTokenClaims
Source§impl<'de> Deserialize<'de> for AgentTokenClaims
impl<'de> Deserialize<'de> for AgentTokenClaims
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
Auto Trait Implementations§
impl Freeze for AgentTokenClaims
impl RefUnwindSafe for AgentTokenClaims
impl Send for AgentTokenClaims
impl Sync for AgentTokenClaims
impl Unpin for AgentTokenClaims
impl UnsafeUnpin for AgentTokenClaims
impl UnwindSafe for AgentTokenClaims
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