pub enum BindingAuthority {
Issuer {
issuer: BindingProvenance,
key_id: Option<BindingProvenance>,
},
Provider {
provider: BindingProvenance,
key_id: Option<BindingProvenance>,
},
}Expand description
Authority metadata supplied by the application that verified a binding.
The labels identify the verification authority and optional signing key; they never contain raw issuer tokens, claims, or credentials.
Variants§
Issuer
An issuer-backed identity assertion.
Fields
§
issuer: BindingProvenanceIssuer or authority reference.
§
key_id: Option<BindingProvenance>Optional provider key identifier used for verification.
Provider
A provider-backed directory or service assertion.
Fields
§
provider: BindingProvenanceProvider or authority reference.
§
key_id: Option<BindingProvenance>Optional provider key identifier used for verification.
Trait Implementations§
Source§impl Clone for BindingAuthority
impl Clone for BindingAuthority
Source§fn clone(&self) -> BindingAuthority
fn clone(&self) -> BindingAuthority
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 BindingAuthority
impl Debug for BindingAuthority
Source§impl<'de> Deserialize<'de> for BindingAuthority
impl<'de> Deserialize<'de> for BindingAuthority
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 BindingAuthority
Source§impl PartialEq for BindingAuthority
impl PartialEq for BindingAuthority
Source§impl Serialize for BindingAuthority
impl Serialize for BindingAuthority
impl StructuralPartialEq for BindingAuthority
Auto Trait Implementations§
impl Freeze for BindingAuthority
impl RefUnwindSafe for BindingAuthority
impl Send for BindingAuthority
impl Sync for BindingAuthority
impl Unpin for BindingAuthority
impl UnsafeUnpin for BindingAuthority
impl UnwindSafe for BindingAuthority
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