pub struct X25519RecipientPublic {
pub key_id: KeyId,
pub public: [u8; 32],
}Expand description
A recipient’s static X25519 public key: the seal target.
Fields§
§key_id: KeyIdThe recipient key id (becomes the recipient kid).
public: [u8; 32]The static X25519 public key bytes.
Trait Implementations§
Source§impl Clone for X25519RecipientPublic
impl Clone for X25519RecipientPublic
Source§fn clone(&self) -> X25519RecipientPublic
fn clone(&self) -> X25519RecipientPublic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 X25519RecipientPublic
impl Debug for X25519RecipientPublic
impl Eq for X25519RecipientPublic
Source§impl PartialEq for X25519RecipientPublic
impl PartialEq for X25519RecipientPublic
Source§fn eq(&self, other: &X25519RecipientPublic) -> bool
fn eq(&self, other: &X25519RecipientPublic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for X25519RecipientPublic
Auto Trait Implementations§
impl Freeze for X25519RecipientPublic
impl RefUnwindSafe for X25519RecipientPublic
impl Send for X25519RecipientPublic
impl Sync for X25519RecipientPublic
impl Unpin for X25519RecipientPublic
impl UnsafeUnpin for X25519RecipientPublic
impl UnwindSafe for X25519RecipientPublic
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