pub struct StoredJwks {
pub body: String,
pub fresh_until: u64,
}Expand description
A fetched set, as a JwksStore keeps it.
Fields§
§body: StringThe JWKS document, as fetched.
fresh_until: u64Until when it may be used without fetching again, in seconds since the Unix epoch.
Trait Implementations§
Source§impl Clone for StoredJwks
impl Clone for StoredJwks
Source§impl Debug for StoredJwks
impl Debug for StoredJwks
Source§impl<'de> Deserialize<'de> for StoredJwks
impl<'de> Deserialize<'de> for StoredJwks
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 StoredJwks
Source§impl PartialEq for StoredJwks
impl PartialEq for StoredJwks
Source§impl Serialize for StoredJwks
impl Serialize for StoredJwks
impl StructuralPartialEq for StoredJwks
Auto Trait Implementations§
impl Freeze for StoredJwks
impl RefUnwindSafe for StoredJwks
impl Send for StoredJwks
impl Sync for StoredJwks
impl Unpin for StoredJwks
impl UnsafeUnpin for StoredJwks
impl UnwindSafe for StoredJwks
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