pub struct KeyPair {
pub view: PrivateKey,
pub spend: PrivateKey,
}
Expand description
Two private keys representing the view and the spend keys.
Fields
view: PrivateKey
The private view key needed to recognize owned outputs.
spend: PrivateKey
The private spend key needed to spend owned outputs.
Trait Implementations
impl Copy for KeyPair
impl Eq for KeyPair
impl StructuralEq for KeyPair
impl StructuralPartialEq for KeyPair
Auto Trait Implementations
impl RefUnwindSafe for KeyPair
impl Send for KeyPair
impl Sync for KeyPair
impl Unpin for KeyPair
impl UnwindSafe for KeyPair
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