pub struct LegacyNodeConfig {
pub storage: Option<PathBuf>,
pub rest: Rest,
pub jrpc: JRpc,
pub p2p: P2p,
pub log: Option<Log>,
pub single_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>
§single_log: Option<Log>
§mempool: Option<Mempool>
§bootstrap_from_trusted_peers: Option<bool>
§skip_bootstrap: Option<bool>
Trait Implementations§
source§impl Clone for LegacyNodeConfig
impl Clone for LegacyNodeConfig
source§fn clone(&self) -> LegacyNodeConfig
fn clone(&self) -> LegacyNodeConfig
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 LegacyNodeConfig
impl Debug for LegacyNodeConfig
source§impl<'de> Deserialize<'de> for LegacyNodeConfig
impl<'de> Deserialize<'de> for LegacyNodeConfig
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 LegacyNodeConfig
impl Send for LegacyNodeConfig
impl Sync for LegacyNodeConfig
impl Unpin for LegacyNodeConfig
impl UnwindSafe for LegacyNodeConfig
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request