pub struct ConfigLayerEntry {
pub source: ConfigLayerSource,
pub config: Value,
}Expand description
A single layer of configuration.
Fields§
§source: ConfigLayerSourceSource of this layer
config: ValueParsed TOML content
Implementations§
Source§impl ConfigLayerEntry
impl ConfigLayerEntry
Sourcepub fn new(source: ConfigLayerSource, config: TomlValue) -> Self
pub fn new(source: ConfigLayerSource, config: TomlValue) -> Self
Create a new configuration layer entry.
Trait Implementations§
Source§impl Clone for ConfigLayerEntry
impl Clone for ConfigLayerEntry
Source§fn clone(&self) -> ConfigLayerEntry
fn clone(&self) -> ConfigLayerEntry
Returns a duplicate 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 ConfigLayerEntry
impl Debug for ConfigLayerEntry
Source§impl PartialEq for ConfigLayerEntry
impl PartialEq for ConfigLayerEntry
impl StructuralPartialEq for ConfigLayerEntry
Auto Trait Implementations§
impl Freeze for ConfigLayerEntry
impl RefUnwindSafe for ConfigLayerEntry
impl Send for ConfigLayerEntry
impl Sync for ConfigLayerEntry
impl Unpin for ConfigLayerEntry
impl UnwindSafe for ConfigLayerEntry
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