#[non_exhaustive]pub enum AttestationKind {
Biscuit,
Jwt,
ApiKey,
Mtls,
}Expand description
Kind of attestation token or credential.
Describes the format and origin of the raw bytes in Attestation::raw.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AttestationKind
impl Clone for AttestationKind
Source§fn clone(&self) -> AttestationKind
fn clone(&self) -> AttestationKind
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 AttestationKind
impl Debug for AttestationKind
Source§impl<'de> Deserialize<'de> for AttestationKind
impl<'de> Deserialize<'de> for AttestationKind
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 Hash for AttestationKind
impl Hash for AttestationKind
Source§impl PartialEq for AttestationKind
impl PartialEq for AttestationKind
Source§impl Serialize for AttestationKind
impl Serialize for AttestationKind
impl Copy for AttestationKind
impl Eq for AttestationKind
impl StructuralPartialEq for AttestationKind
Auto Trait Implementations§
impl Freeze for AttestationKind
impl RefUnwindSafe for AttestationKind
impl Send for AttestationKind
impl Sync for AttestationKind
impl Unpin for AttestationKind
impl UnsafeUnpin for AttestationKind
impl UnwindSafe for AttestationKind
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