pub struct AttestationFormatsPreference { /* private fields */ }
Implementations§
Source§impl AttestationFormatsPreference
impl AttestationFormatsPreference
pub fn known_formats(&self) -> &[AttestationStatementFormat]
pub fn includes_unknown_formats(&self) -> bool
Trait Implementations§
Source§impl Clone for AttestationFormatsPreference
impl Clone for AttestationFormatsPreference
Source§fn clone(&self) -> AttestationFormatsPreference
fn clone(&self) -> AttestationFormatsPreference
Returns a copy 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 AttestationFormatsPreference
impl Debug for AttestationFormatsPreference
Source§impl Default for AttestationFormatsPreference
impl Default for AttestationFormatsPreference
Source§fn default() -> AttestationFormatsPreference
fn default() -> AttestationFormatsPreference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttestationFormatsPreference
impl<'de> Deserialize<'de> for AttestationFormatsPreference
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 AttestationFormatsPreference
impl PartialEq for AttestationFormatsPreference
Source§fn eq(&self, other: &AttestationFormatsPreference) -> bool
fn eq(&self, other: &AttestationFormatsPreference) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for AttestationFormatsPreference
impl StructuralPartialEq for AttestationFormatsPreference
Auto Trait Implementations§
impl Freeze for AttestationFormatsPreference
impl RefUnwindSafe for AttestationFormatsPreference
impl Send for AttestationFormatsPreference
impl Sync for AttestationFormatsPreference
impl Unpin for AttestationFormatsPreference
impl UnwindSafe for AttestationFormatsPreference
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