pub struct ConfigLayer {
pub config: Value,
pub disabled_reason: Option<String>,
pub name: ConfigLayerSource,
pub version: String,
}Fields§
§config: Value§disabled_reason: Option<String>§name: ConfigLayerSource§version: StringTrait Implementations§
Source§impl Clone for ConfigLayer
impl Clone for ConfigLayer
Source§fn clone(&self) -> ConfigLayer
fn clone(&self) -> ConfigLayer
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 ConfigLayer
impl Debug for ConfigLayer
Source§impl<'de> Deserialize<'de> for ConfigLayer
impl<'de> Deserialize<'de> for ConfigLayer
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 ConfigLayer
impl PartialEq for ConfigLayer
Source§fn eq(&self, other: &ConfigLayer) -> bool
fn eq(&self, other: &ConfigLayer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ConfigLayer
impl Serialize for ConfigLayer
impl StructuralPartialEq for ConfigLayer
Auto Trait Implementations§
impl Freeze for ConfigLayer
impl RefUnwindSafe for ConfigLayer
impl Send for ConfigLayer
impl Sync for ConfigLayer
impl Unpin for ConfigLayer
impl UnsafeUnpin for ConfigLayer
impl UnwindSafe for ConfigLayer
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