Struct coset::CoseKeySet
source · pub struct CoseKeySet(pub Vec<CoseKey>);
Expand description
A collection of CoseKey
objects.
Tuple Fields§
§0: Vec<CoseKey>
Trait Implementations§
source§impl AsCborValue for CoseKeySet
impl AsCborValue for CoseKeySet
source§fn from_cbor_value(value: Value) -> Result<Self>
fn from_cbor_value(value: Value) -> Result<Self>
Convert a [
Value
] into an instance of the type.source§fn to_cbor_value(self) -> Result<Value>
fn to_cbor_value(self) -> Result<Value>
Convert the object into a [
Value
], consuming it along the way.source§impl CborSerializable for CoseKeySet
impl CborSerializable for CoseKeySet
source§fn from_slice(slice: &[u8]) -> Result<Self>
fn from_slice(slice: &[u8]) -> Result<Self>
Create an object instance from serialized CBOR data in a slice. This method will fail (with
CoseError::ExtraneousData
) if there is additional CBOR data after the object.source§impl Clone for CoseKeySet
impl Clone for CoseKeySet
source§fn clone(&self) -> CoseKeySet
fn clone(&self) -> CoseKeySet
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 CoseKeySet
impl Debug for CoseKeySet
source§impl Default for CoseKeySet
impl Default for CoseKeySet
source§fn default() -> CoseKeySet
fn default() -> CoseKeySet
Returns the “default value” for a type. Read more
source§impl PartialEq<CoseKeySet> for CoseKeySet
impl PartialEq<CoseKeySet> for CoseKeySet
source§fn eq(&self, other: &CoseKeySet) -> bool
fn eq(&self, other: &CoseKeySet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CoseKeySet
Auto Trait Implementations§
impl RefUnwindSafe for CoseKeySet
impl Send for CoseKeySet
impl Sync for CoseKeySet
impl Unpin for CoseKeySet
impl UnwindSafe for CoseKeySet
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