pub struct AttestationCaList { /* private fields */ }Expand description
A list of AttestationCas and associated options.
Implementations§
Source§impl AttestationCaList
impl AttestationCaList
pub fn cas(&self) -> &BTreeMap<Base64UrlSafeData, AttestationCa>
pub fn clear(&mut self)
pub fn len(&self) -> usize
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
Sourcepub fn union(&mut self, other: &AttestationCaList)
pub fn union(&mut self, other: &AttestationCaList)
Join two CA lists into one, taking all elements from both.
Sourcepub fn intersection(&mut self, other: &AttestationCaList)
pub fn intersection(&mut self, other: &AttestationCaList)
Retain only the CA’s and devices that exist in self and other.
Trait Implementations§
Source§impl Clone for AttestationCaList
impl Clone for AttestationCaList
Source§fn clone(&self) -> AttestationCaList
fn clone(&self) -> AttestationCaList
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 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 PartialEq for AttestationCaList
impl PartialEq for AttestationCaList
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]> for AttestationCaList
impl TryFrom<&[u8]> for AttestationCaList
Source§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.
impl Eq for AttestationCaList
impl StructuralPartialEq for AttestationCaList
Auto Trait Implementations§
impl Freeze for AttestationCaList
impl RefUnwindSafe for AttestationCaList
impl Send for AttestationCaList
impl Sync for AttestationCaList
impl Unpin for AttestationCaList
impl UnwindSafe for AttestationCaList
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> 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