pub struct Keypair<PK, SK> {
pub public_key: PK,
pub secret_key: SK,
}Expand description
Named pair of public / secret key.
Fields§
§public_key: PK§secret_key: SKAuto Trait Implementations§
impl<PK, SK> Freeze for Keypair<PK, SK>
impl<PK, SK> RefUnwindSafe for Keypair<PK, SK>where
PK: RefUnwindSafe,
SK: RefUnwindSafe,
impl<PK, SK> Send for Keypair<PK, SK>
impl<PK, SK> Sync for Keypair<PK, SK>
impl<PK, SK> Unpin for Keypair<PK, SK>
impl<PK, SK> UnsafeUnpin for Keypair<PK, SK>where
PK: UnsafeUnpin,
SK: UnsafeUnpin,
impl<PK, SK> UnwindSafe for Keypair<PK, SK>where
PK: UnwindSafe,
SK: UnwindSafe,
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