pub struct RecipientPublicKey {
pub recipient_id: String,
pub key_id: String,
pub public_key: [u8; 32],
}Expand description
Public recipient key metadata used to wrap capsule private-field keys.
Fields§
§recipient_id: StringStable recipient identity used by policy and CLI lookups.
key_id: StringKey identifier for this recipient key.
public_key: [u8; 32]X25519 public key bytes.
Trait Implementations§
Source§impl Clone for RecipientPublicKey
impl Clone for RecipientPublicKey
Source§fn clone(&self) -> RecipientPublicKey
fn clone(&self) -> RecipientPublicKey
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 moreAuto Trait Implementations§
impl Freeze for RecipientPublicKey
impl RefUnwindSafe for RecipientPublicKey
impl Send for RecipientPublicKey
impl Sync for RecipientPublicKey
impl Unpin for RecipientPublicKey
impl UnsafeUnpin for RecipientPublicKey
impl UnwindSafe for RecipientPublicKey
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