Struct coset::PartyInfo [−][src]
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
impl CborSerializable for PartyInfo
[src]
impl CborSerializable for PartyInfo
[src]fn from_reader<R: Read>(reader: R) -> Result<Self>
[src]
fn from_reader<R: Read>(reader: R) -> Result<Self>
[src]Create an object instance by reading serialized CBOR data from std::io::Read
instance.
impl<'de> Deserialize<'de> for PartyInfo
[src]
impl<'de> Deserialize<'de> for PartyInfo
[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
impl Eq for PartyInfo
[src]
impl StructuralEq for PartyInfo
[src]
impl StructuralPartialEq for PartyInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for PartyInfo
impl Send for PartyInfo
impl Sync for PartyInfo
impl Unpin for PartyInfo
impl UnwindSafe for PartyInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,