pub struct PublicKeys {
pub public_key: Vec<u8>,
pub verifying_key: Vec<u8>,
pub associated_data: Option<Value>,
}
Expand description
Public keys for a participant.
Fields§
§public_key: Vec<u8>
Public key for the noise transport.
verifying_key: Vec<u8>
Verifying key.
associated_data: Option<Value>
Optional application specific associated data.
Trait Implementations§
Source§impl Debug for PublicKeys
impl Debug for PublicKeys
Source§impl<'de> Deserialize<'de> for PublicKeys
impl<'de> Deserialize<'de> for PublicKeys
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PublicKeys
impl PartialEq for PublicKeys
Source§impl Serialize for PublicKeys
impl Serialize for PublicKeys
impl Eq for PublicKeys
impl StructuralPartialEq for PublicKeys
Auto Trait Implementations§
impl Freeze for PublicKeys
impl RefUnwindSafe for PublicKeys
impl Send for PublicKeys
impl Sync for PublicKeys
impl Unpin for PublicKeys
impl UnwindSafe for PublicKeys
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