pub struct KeyedMetadata {
pub issuer: Option<String>,
pub jwks_uri: Option<String>,
pub jwks: Option<Jwks>,
pub name: Option<String>,
}Expand description
The part of any role’s metadata document that key discovery reads.
Fields§
§issuer: Option<String>The issuer the document describes. When present it must be the one the document was fetched under.
jwks_uri: Option<String>Where the issuer’s keys are published.
jwks: Option<Jwks>The issuer’s keys, inline instead of at jwks_uri.
name: Option<String>A display name.
Trait Implementations§
Source§impl Clone for KeyedMetadata
impl Clone for KeyedMetadata
Source§impl Debug for KeyedMetadata
impl Debug for KeyedMetadata
Source§impl Default for KeyedMetadata
impl Default for KeyedMetadata
Source§impl<'de> Deserialize<'de> for KeyedMetadata
impl<'de> Deserialize<'de> for KeyedMetadata
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 KeyedMetadata
Source§impl PartialEq for KeyedMetadata
impl PartialEq for KeyedMetadata
Source§impl Serialize for KeyedMetadata
impl Serialize for KeyedMetadata
impl StructuralPartialEq for KeyedMetadata
Auto Trait Implementations§
impl Freeze for KeyedMetadata
impl RefUnwindSafe for KeyedMetadata
impl Send for KeyedMetadata
impl Sync for KeyedMetadata
impl Unpin for KeyedMetadata
impl UnsafeUnpin for KeyedMetadata
impl UnwindSafe for KeyedMetadata
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