pub struct AuthLeasePayload {Show 14 fields
pub version: i32,
pub lease_id: String,
pub issuer: String,
pub audience: String,
pub actor_id: String,
pub subject: Map<String, Value>,
pub schema_version: i32,
pub protocol_version: i32,
pub issued_at_ms: i64,
pub not_before_ms: i64,
pub expires_at_ms: i64,
pub max_clock_skew_ms: i64,
pub scopes: Vec<AuthLeaseScope>,
pub capabilities: AuthLeaseCapabilities,
}Fields§
§version: i32§lease_id: String§issuer: String§audience: String§actor_id: String§subject: Map<String, Value>§schema_version: i32§protocol_version: i32§issued_at_ms: i64§not_before_ms: i64§expires_at_ms: i64§max_clock_skew_ms: i64§scopes: Vec<AuthLeaseScope>§capabilities: AuthLeaseCapabilitiesTrait Implementations§
Source§impl Clone for AuthLeasePayload
impl Clone for AuthLeasePayload
Source§fn clone(&self) -> AuthLeasePayload
fn clone(&self) -> AuthLeasePayload
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 AuthLeasePayload
impl Debug for AuthLeasePayload
Source§impl<'de> Deserialize<'de> for AuthLeasePayload
impl<'de> Deserialize<'de> for AuthLeasePayload
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
Source§impl PartialEq for AuthLeasePayload
impl PartialEq for AuthLeasePayload
Source§fn eq(&self, other: &AuthLeasePayload) -> bool
fn eq(&self, other: &AuthLeasePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthLeasePayload
impl Serialize for AuthLeasePayload
impl StructuralPartialEq for AuthLeasePayload
Auto Trait Implementations§
impl Freeze for AuthLeasePayload
impl RefUnwindSafe for AuthLeasePayload
impl Send for AuthLeasePayload
impl Sync for AuthLeasePayload
impl Unpin for AuthLeasePayload
impl UnsafeUnpin for AuthLeasePayload
impl UnwindSafe for AuthLeasePayload
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