pub struct SettingState {
pub value: Value,
pub source: String,
}Fields§
§value: Value§source: String“default” | “config” | “env” | “unset”.
Trait Implementations§
Source§impl Clone for SettingState
impl Clone for SettingState
Source§fn clone(&self) -> SettingState
fn clone(&self) -> SettingState
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 SettingState
impl Debug for SettingState
Source§impl<'de> Deserialize<'de> for SettingState
impl<'de> Deserialize<'de> for SettingState
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 Freeze for SettingState
impl RefUnwindSafe for SettingState
impl Send for SettingState
impl Sync for SettingState
impl Unpin for SettingState
impl UnsafeUnpin for SettingState
impl UnwindSafe for SettingState
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