Struct jormungandr_lib::interfaces::config::node::NodeConfig
source · pub struct NodeConfig {
pub storage: Option<PathBuf>,
pub rest: Rest,
pub jrpc: JRpc,
pub p2p: P2p,
pub log: Option<Log>,
pub mempool: Option<Mempool>,
pub bootstrap_from_trusted_peers: Option<bool>,
pub skip_bootstrap: Option<bool>,
}
Fields§
§storage: Option<PathBuf>
§rest: Rest
§jrpc: JRpc
§p2p: P2p
§log: Option<Log>
§mempool: Option<Mempool>
§bootstrap_from_trusted_peers: Option<bool>
§skip_bootstrap: Option<bool>
Trait Implementations§
source§impl Clone for NodeConfig
impl Clone for NodeConfig
source§fn clone(&self) -> NodeConfig
fn clone(&self) -> NodeConfig
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 NodeConfig
impl Debug for NodeConfig
source§impl<'de> Deserialize<'de> for NodeConfig
impl<'de> Deserialize<'de> for NodeConfig
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 NodeConfig
impl Send for NodeConfig
impl Sync for NodeConfig
impl Unpin for NodeConfig
impl UnwindSafe for NodeConfig
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