Struct webauthn_rs::prelude::AttestationCaList
pub struct AttestationCaList {
pub cas: BTreeMap<Base64UrlSafeData, AttestationCa>,
}
Expand description
A list of AttestationCas and associated options.
Fields§
§cas: BTreeMap<Base64UrlSafeData, AttestationCa>
The set of CA’s that we trust in this Operation
Implementations§
§impl AttestationCaList
impl AttestationCaList
pub fn from_iter<I>(iter: I) -> Result<AttestationCaList, ErrorStack>
§impl AttestationCaList
impl AttestationCaList
pub fn insert(
&mut self,
att_ca: AttestationCa
) -> Result<Option<AttestationCa>, ErrorStack>
pub fn insert( &mut self, att_ca: AttestationCa ) -> Result<Option<AttestationCa>, ErrorStack>
Insert a new att_ca into this Attestation Ca List
Trait Implementations§
§impl Clone for AttestationCaList
impl Clone for AttestationCaList
§fn clone(&self) -> AttestationCaList
fn clone(&self) -> AttestationCaList
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 more§impl Debug for AttestationCaList
impl Debug for AttestationCaList
§impl Default for AttestationCaList
impl Default for AttestationCaList
§fn default() -> AttestationCaList
fn default() -> AttestationCaList
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for AttestationCaList
impl<'de> Deserialize<'de> for AttestationCaList
§fn deserialize<__D>(
__deserializer: __D
) -> Result<AttestationCaList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AttestationCaList, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for AttestationCaList
impl Serialize for AttestationCaList
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl TryFrom<&[(&[u8], Uuid)]> for AttestationCaList
impl TryFrom<&[(&[u8], Uuid)]> for AttestationCaList
§type Error = ErrorStack
type Error = ErrorStack
The type returned in the event of a conversion error.
§impl TryFrom<&[u8]> for AttestationCaList
impl TryFrom<&[u8]> for AttestationCaList
§type Error = ErrorStack
type Error = ErrorStack
The type returned in the event of a conversion error.
§fn try_from(
data: &[u8]
) -> Result<AttestationCaList, <AttestationCaList as TryFrom<&[u8]>>::Error>
fn try_from( data: &[u8] ) -> Result<AttestationCaList, <AttestationCaList as TryFrom<&[u8]>>::Error>
Performs the conversion.
§impl TryFrom<AttestationCa> for AttestationCaList
impl TryFrom<AttestationCa> for AttestationCaList
§type Error = ErrorStack
type Error = ErrorStack
The type returned in the event of a conversion error.
§fn try_from(
att_ca: AttestationCa
) -> Result<AttestationCaList, <AttestationCaList as TryFrom<AttestationCa>>::Error>
fn try_from( att_ca: AttestationCa ) -> Result<AttestationCaList, <AttestationCaList as TryFrom<AttestationCa>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl RefUnwindSafe for AttestationCaList
impl Send for AttestationCaList
impl Sync for AttestationCaList
impl Unpin for AttestationCaList
impl UnwindSafe for AttestationCaList
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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