Struct Keypair
snow
pub struct Keypair { pub private: Vec<u8>, pub public: Vec<u8>, }
A keypair object returned by generate_keypair()
generate_keypair()
private: Vec<u8>
The private asymmetric key
public: Vec<u8>
The public asymmetric key
impl PartialEq for Keypair
fn eq(&self, other: &Keypair) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
self
other
==
fn ne(&self, other: &Keypair) -> bool
This method tests for !=.
!=
impl Send for Keypair
impl Sync for Keypair