pub struct RawKeyPair {
pub public_key: [u8; 65],
pub secret_key: [u8; 32],
}
Expand description
Raw key pair
Fields§
§public_key: [u8; 65]
Raw public key
secret_key: [u8; 32]
Raw secret key
Trait Implementations§
Source§impl Clone for RawKeyPair
impl Clone for RawKeyPair
Source§fn clone(&self) -> RawKeyPair
fn clone(&self) -> RawKeyPair
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 Debug for RawKeyPair
impl Debug for RawKeyPair
Source§impl From<KeyPair> for RawKeyPair
impl From<KeyPair> for RawKeyPair
Source§impl PartialEq for RawKeyPair
impl PartialEq for RawKeyPair
Source§impl Zeroable for RawKeyPair
impl Zeroable for RawKeyPair
impl Copy for RawKeyPair
impl Eq for RawKeyPair
impl StructuralPartialEq for RawKeyPair
Auto Trait Implementations§
impl Freeze for RawKeyPair
impl RefUnwindSafe for RawKeyPair
impl Send for RawKeyPair
impl Sync for RawKeyPair
impl Unpin for RawKeyPair
impl UnwindSafe for RawKeyPair
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