Struct webauthn_rs_core::interface::AttestationCaList
source · 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§
source§impl AttestationCaList
impl AttestationCaList
pub fn from_iter<I>(iter: I) -> Result<AttestationCaList, ErrorStack>where I: IntoIterator<Item = (X509, Uuid)>,
source§impl AttestationCaList
impl AttestationCaList
sourcepub 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§
source§impl Clone for AttestationCaList
impl Clone for AttestationCaList
source§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 moresource§impl Debug for AttestationCaList
impl Debug for AttestationCaList
source§impl Default for AttestationCaList
impl Default for AttestationCaList
source§fn default() -> AttestationCaList
fn default() -> AttestationCaList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AttestationCaList
impl<'de> Deserialize<'de> for AttestationCaList
source§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
source§impl Serialize for AttestationCaList
impl Serialize for AttestationCaList
source§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
source§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.
source§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.
source§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.
source§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.
source§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