pub struct EncParam {
pub pubkey: [u8; 32],
}Expand description
The parameter of an enc/1 offer or answer: a 32-byte X25519 ephemeral
public key encoded as 64 lowercase hexadecimal digits (docs/extensions.md,
section enc).
Fields§
§pubkey: [u8; 32]32-byte X25519 public key.
Implementations§
Trait Implementations§
impl Copy for EncParam
impl Eq for EncParam
impl StructuralPartialEq for EncParam
Auto Trait Implementations§
impl Forget for EncParam
impl Freeze for EncParam
impl Move for EncParam
impl RefUnwindSafe for EncParam
impl Send for EncParam
impl Sync for EncParam
impl Unpin for EncParam
impl UnsafeUnpin for EncParam
impl UnwindSafe for EncParam
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