pub struct Keypair {
pub sk: SecretKey,
pub vk: VerifyingKey,
}Expand description
Par de chaves (conveniência).
Fields§
§sk: SecretKeySecret key; zeroized on drop.
vk: VerifyingKeyVerifying/public key.
Implementations§
Source§impl Keypair
impl Keypair
Sourcepub fn signing_key(&self) -> SigningKey
pub fn signing_key(&self) -> SigningKey
Signing key helper.
Auto Trait Implementations§
impl Freeze for Keypair
impl RefUnwindSafe for Keypair
impl Send for Keypair
impl Sync for Keypair
impl Unpin for Keypair
impl UnwindSafe for Keypair
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