Struct jormungandr_lib::interfaces::NodeSecret
source · pub struct NodeSecret {
pub bft: Option<Bft>,
pub genesis: Option<GenesisPraos>,
}
Fields§
§bft: Option<Bft>
§genesis: Option<GenesisPraos>
Trait Implementations§
source§impl Clone for NodeSecret
impl Clone for NodeSecret
source§fn clone(&self) -> NodeSecret
fn clone(&self) -> NodeSecret
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 NodeSecret
impl Debug for NodeSecret
source§impl Default for NodeSecret
impl Default for NodeSecret
source§fn default() -> NodeSecret
fn default() -> NodeSecret
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NodeSecret
impl<'de> Deserialize<'de> for NodeSecret
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
Auto Trait Implementations§
impl RefUnwindSafe for NodeSecret
impl Send for NodeSecret
impl Sync for NodeSecret
impl Unpin for NodeSecret
impl UnwindSafe for NodeSecret
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