pub struct MetadataKeyPair { /* private fields */ }Expand description
A (MetadataPrivateKey, MetadataPublicKey) SD-PKE keypair.
Implementations§
Source§impl MetadataKeyPair
impl MetadataKeyPair
Sourcepub fn public_key(&self) -> &MetadataPublicKey
pub fn public_key(&self) -> &MetadataPublicKey
Returns the public key.
Sourcepub fn private_key(&self) -> &MetadataPrivateKey
pub fn private_key(&self) -> &MetadataPrivateKey
Returns the private key.
Auto Trait Implementations§
impl Freeze for MetadataKeyPair
impl RefUnwindSafe for MetadataKeyPair
impl Send for MetadataKeyPair
impl Sync for MetadataKeyPair
impl Unpin for MetadataKeyPair
impl UnsafeUnpin for MetadataKeyPair
impl UnwindSafe for MetadataKeyPair
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