pub struct ConfigField<T> { /* private fields */ }Expand description
Field-level read declaration for crate::ConfigReader::read.
Implementations§
Source§impl<T> ConfigField<T>
impl<T> ConfigField<T>
Sourcepub fn builder() -> ConfigFieldNameBuilder<T>
pub fn builder() -> ConfigFieldNameBuilder<T>
Starts building a field declaration.
§Returns
A builder requiring a primary field name before build is available.
Trait Implementations§
Source§impl<T: Clone> Clone for ConfigField<T>
impl<T: Clone> Clone for ConfigField<T>
Source§fn clone(&self) -> ConfigField<T>
fn clone(&self) -> ConfigField<T>
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<T: Debug> Debug for ConfigField<T>
impl<T: Debug> Debug for ConfigField<T>
Source§impl<T: PartialEq> PartialEq for ConfigField<T>
impl<T: PartialEq> PartialEq for ConfigField<T>
impl<T> StructuralPartialEq for ConfigField<T>
Auto Trait Implementations§
impl<T> Freeze for ConfigField<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConfigField<T>where
T: RefUnwindSafe,
impl<T> Send for ConfigField<T>where
T: Send,
impl<T> Sync for ConfigField<T>where
T: Sync,
impl<T> Unpin for ConfigField<T>where
T: Unpin,
impl<T> UnsafeUnpin for ConfigField<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ConfigField<T>where
T: UnwindSafe,
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> IntoConfigDefault<T> for Dwhere
D: IntoValueDefault<T>,
impl<T, D> IntoConfigDefault<T> for Dwhere
D: IntoValueDefault<T>,
Source§fn into_config_default(self) -> T
fn into_config_default(self) -> T
Converts this fallback value into
T.Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.