pub struct ConfigFieldNameBuilder<T> { /* private fields */ }Expand description
Builder state before the field name is provided.
Implementations§
Source§impl<T> ConfigFieldNameBuilder<T>
impl<T> ConfigFieldNameBuilder<T>
Sourcepub fn name(self, name: &str) -> ConfigFieldBuilder<T>
pub fn name(self, name: &str) -> ConfigFieldBuilder<T>
Sets the primary field name and unlocks super::ConfigFieldBuilder::build.
§Parameters
name- Primary configuration key.
§Returns
Builder state with a primary name.
Auto Trait Implementations§
impl<T> Freeze for ConfigFieldNameBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConfigFieldNameBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for ConfigFieldNameBuilder<T>where
T: Send,
impl<T> Sync for ConfigFieldNameBuilder<T>where
T: Sync,
impl<T> Unpin for ConfigFieldNameBuilder<T>where
T: Unpin,
impl<T> UnsafeUnpin for ConfigFieldNameBuilder<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ConfigFieldNameBuilder<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, 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.