pub struct KeyPairBox<'p, 's> {
pub public_key_box: PublicKeyBox<'p>,
pub secret_key_box: SecretKeyBox<'s>,
}
Expand description
A KeyPairBox
represents a minisign key pair.
Fields§
§public_key_box: PublicKeyBox<'p>
The public key box.
secret_key_box: SecretKeyBox<'s>
The secret key box.
Implementations§
Trait Implementations§
Source§impl<'p, 's> Clone for KeyPairBox<'p, 's>
impl<'p, 's> Clone for KeyPairBox<'p, 's>
Source§fn clone(&self) -> KeyPairBox<'p, 's>
fn clone(&self) -> KeyPairBox<'p, 's>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'p, 's> Debug for KeyPairBox<'p, 's>
impl<'p, 's> Debug for KeyPairBox<'p, 's>
Source§impl Display for KeyPairBox<'_, '_>
impl Display for KeyPairBox<'_, '_>
Source§impl<'p, 's> PartialEq for KeyPairBox<'p, 's>
impl<'p, 's> PartialEq for KeyPairBox<'p, 's>
impl<'p, 's> Eq for KeyPairBox<'p, 's>
impl<'p, 's> StructuralPartialEq for KeyPairBox<'p, 's>
Auto Trait Implementations§
impl<'p, 's> Freeze for KeyPairBox<'p, 's>
impl<'p, 's> RefUnwindSafe for KeyPairBox<'p, 's>
impl<'p, 's> Send for KeyPairBox<'p, 's>
impl<'p, 's> Sync for KeyPairBox<'p, 's>
impl<'p, 's> Unpin for KeyPairBox<'p, 's>
impl<'p, 's> UnwindSafe for KeyPairBox<'p, 's>
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