pub struct ConfigFieldBuilder<T> { /* private fields */ }Expand description
Builder state after the field name is provided.
Implementations§
Source§impl<T> ConfigFieldBuilder<T>
impl<T> ConfigFieldBuilder<T>
Sourcepub fn read_options(self, read_options: ConfigReadOptions) -> Self
pub fn read_options(self, read_options: ConfigReadOptions) -> Self
Sourcepub fn build(self) -> ConfigField<T>
pub fn build(self) -> ConfigField<T>
Auto Trait Implementations§
impl<T> Freeze for ConfigFieldBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConfigFieldBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for ConfigFieldBuilder<T>where
T: Send,
impl<T> Sync for ConfigFieldBuilder<T>where
T: Sync,
impl<T> Unpin for ConfigFieldBuilder<T>where
T: Unpin,
impl<T> UnsafeUnpin for ConfigFieldBuilder<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ConfigFieldBuilder<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.