Struct grin_config::types::ConfigMembers
source · pub struct ConfigMembers {
pub config_file_version: Option<u32>,
pub server: ServerConfig,
pub logging: Option<LoggingConfig>,
}
Expand description
Keeping an ‘inner’ structure here, as the top level GlobalConfigContainer options might want to keep internal state that we don’t necessarily want serialised or deserialised
Fields§
§config_file_version: Option<u32>
Config file version (None == version 1)
server: ServerConfig
Server config
logging: Option<LoggingConfig>
Logging config
Trait Implementations§
source§impl Clone for ConfigMembers
impl Clone for ConfigMembers
source§fn clone(&self) -> ConfigMembers
fn clone(&self) -> ConfigMembers
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 ConfigMembers
impl Debug for ConfigMembers
source§impl Default for ConfigMembers
impl Default for ConfigMembers
Returns the defaults, as strewn throughout the code
source§fn default() -> ConfigMembers
fn default() -> ConfigMembers
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConfigMembers
impl<'de> Deserialize<'de> for ConfigMembers
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 for ConfigMembers
impl PartialEq for ConfigMembers
source§fn eq(&self, other: &ConfigMembers) -> bool
fn eq(&self, other: &ConfigMembers) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfigMembers
impl Serialize for ConfigMembers
impl StructuralPartialEq for ConfigMembers
Auto Trait Implementations§
impl Freeze for ConfigMembers
impl RefUnwindSafe for ConfigMembers
impl Send for ConfigMembers
impl Sync for ConfigMembers
impl Unpin for ConfigMembers
impl UnwindSafe for ConfigMembers
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
source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.