pub struct PartyInfo {
pub identity: Option<Vec<u8>>,
pub nonce: Option<Nonce>,
pub other: Option<Vec<u8>>,
}
Expand description
Structure representing a party involved in key derivation.
PartyInfo = (
identity : bstr / nil,
nonce : bstr / int / nil,
other : bstr / nil
)
Fields§
§identity: Option<Vec<u8>>
§nonce: Option<Nonce>
§other: Option<Vec<u8>>
Trait Implementations§
Source§impl AsCborValue for PartyInfo
impl AsCborValue for PartyInfo
Source§impl CborSerializable for PartyInfo
impl CborSerializable for PartyInfo
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.impl Eq for PartyInfo
impl StructuralPartialEq for PartyInfo
Auto Trait Implementations§
impl Freeze for PartyInfo
impl RefUnwindSafe for PartyInfo
impl Send for PartyInfo
impl Sync for PartyInfo
impl Unpin for PartyInfo
impl UnwindSafe for PartyInfo
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