Struct ex3_node_types::secret::MainSecret
source · pub struct MainSecret {
pub encrypted_priv_key: ByteBuf,
pub pub_key: PublicKey,
}Fields§
§encrypted_priv_key: ByteBuf§pub_key: PublicKeyTrait Implementations§
source§impl Clone for MainSecret
impl Clone for MainSecret
source§fn clone(&self) -> MainSecret
fn clone(&self) -> MainSecret
Returns a copy 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 MainSecret
impl Debug for MainSecret
source§impl<'de> Deserialize<'de> for MainSecret
impl<'de> Deserialize<'de> for MainSecret
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<MainSecret> for MainSecret
impl PartialEq<MainSecret> for MainSecret
source§fn eq(&self, other: &MainSecret) -> bool
fn eq(&self, other: &MainSecret) -> bool
This method tests for
self and other values to be equal, and is used
by ==.