Struct ntrumls::PrivateKey
[−]
[src]
pub struct PrivateKey(pub Vec<u8>);
Trait Implementations
impl Debug for PrivateKey[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for PrivateKey[src]
fn eq(&self, __arg_0: &PrivateKey) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PrivateKey) -> bool[src]
This method tests for !=.
impl Eq for PrivateKey[src]
impl Clone for PrivateKey[src]
fn clone(&self) -> PrivateKey[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Encodable for PrivateKey[src]
fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>[src]
Serialize a value using an Encoder.