pub struct SettlementContext {
pub iss: String,
pub sub: Option<String>,
pub aud: Option<String>,
pub iat: Option<i64>,
pub exp: Option<i64>,
pub jti: Option<String>,
}Expand description
Claims metadata for a settled token.
Fields§
§iss: StringRealm issuer identity, e.g. https://pic-x.example.com/realms/acme.
sub: Option<String>Subject claim for the settled token.
aud: Option<String>Audience claim for the settled token.
iat: Option<i64>Issued-at (seconds since the Unix epoch).
exp: Option<i64>Expiry (seconds since the Unix epoch).
jti: Option<String>Token identifier.
Trait Implementations§
Source§impl Clone for SettlementContext
impl Clone for SettlementContext
Source§fn clone(&self) -> SettlementContext
fn clone(&self) -> SettlementContext
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 SettlementContext
impl Debug for SettlementContext
Source§impl Default for SettlementContext
impl Default for SettlementContext
Source§fn default() -> SettlementContext
fn default() -> SettlementContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SettlementContext
impl RefUnwindSafe for SettlementContext
impl Send for SettlementContext
impl Sync for SettlementContext
impl Unpin for SettlementContext
impl UnsafeUnpin for SettlementContext
impl UnwindSafe for SettlementContext
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