Struct radicle_keystore::Keypair
source · [−]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: SK
Auto Trait Implementations
impl<PK, SK> RefUnwindSafe for Keypair<PK, SK> where
PK: RefUnwindSafe,
SK: RefUnwindSafe,
impl<PK, SK> Send for Keypair<PK, SK> where
PK: Send,
SK: Send,
impl<PK, SK> Sync for Keypair<PK, SK> where
PK: Sync,
SK: Sync,
impl<PK, SK> Unpin for Keypair<PK, SK> where
PK: Unpin,
SK: Unpin,
impl<PK, SK> UnwindSafe for Keypair<PK, SK> where
PK: UnwindSafe,
SK: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more