pub struct ConfigBinding {
pub source: ConfigSource,
pub tiers: Vec<String>,
pub expansion: BTreeMap<String, Vec<TokenExpansion>>,
}Expand description
Layered config transport. subc stores tiered raw documents and transports literal token references; modules merge and expand them at use time.
Fields§
§source: ConfigSource§tiers: Vec<String>§expansion: BTreeMap<String, Vec<TokenExpansion>>Trait Implementations§
Source§impl Clone for ConfigBinding
impl Clone for ConfigBinding
Source§fn clone(&self) -> ConfigBinding
fn clone(&self) -> ConfigBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigBinding
impl Debug for ConfigBinding
Source§impl<'de> Deserialize<'de> for ConfigBinding
impl<'de> Deserialize<'de> for ConfigBinding
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 ConfigBinding
impl PartialEq for ConfigBinding
Source§fn eq(&self, other: &ConfigBinding) -> bool
fn eq(&self, other: &ConfigBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigBinding
impl Serialize for ConfigBinding
impl StructuralPartialEq for ConfigBinding
Auto Trait Implementations§
impl Freeze for ConfigBinding
impl RefUnwindSafe for ConfigBinding
impl Send for ConfigBinding
impl Sync for ConfigBinding
impl Unpin for ConfigBinding
impl UnsafeUnpin for ConfigBinding
impl UnwindSafe for ConfigBinding
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