#[non_exhaustive]pub struct WellKnownPasetoDocument {
pub issuer: String,
pub version: String,
pub keys: Vec<WellKnownPasetoKey>,
pub cache_ttl_seconds: u64,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.issuer: String§version: String§keys: Vec<WellKnownPasetoKey>§cache_ttl_seconds: u64Trait Implementations§
Source§impl Clone for WellKnownPasetoDocument
impl Clone for WellKnownPasetoDocument
Source§fn clone(&self) -> WellKnownPasetoDocument
fn clone(&self) -> WellKnownPasetoDocument
Returns a duplicate of the value. Read more
1.0.0 · 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 WellKnownPasetoDocument
impl Debug for WellKnownPasetoDocument
Source§impl<'de> Deserialize<'de> for WellKnownPasetoDocument
impl<'de> Deserialize<'de> for WellKnownPasetoDocument
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 WellKnownPasetoDocument
impl PartialEq for WellKnownPasetoDocument
Source§impl Serialize for WellKnownPasetoDocument
impl Serialize for WellKnownPasetoDocument
impl Eq for WellKnownPasetoDocument
impl StructuralPartialEq for WellKnownPasetoDocument
Auto Trait Implementations§
impl Freeze for WellKnownPasetoDocument
impl RefUnwindSafe for WellKnownPasetoDocument
impl Send for WellKnownPasetoDocument
impl Sync for WellKnownPasetoDocument
impl Unpin for WellKnownPasetoDocument
impl UnsafeUnpin for WellKnownPasetoDocument
impl UnwindSafe for WellKnownPasetoDocument
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