pub struct EnvKeyBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> EnvKeyBuilder<S>
impl<S: State> EnvKeyBuilder<S>
Sourcepub fn build(self) -> EnvKeywhere
S: IsComplete,
pub fn build(self) -> EnvKeywhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn env_type(self, value: EnvKeyType) -> EnvKeyBuilder<SetEnvType<S>>where
S::EnvType: IsUnset,
pub fn env_type(self, value: EnvKeyType) -> EnvKeyBuilder<SetEnvType<S>>where
S::EnvType: IsUnset,
Required.
Sourcepub fn value(self, value: String) -> EnvKeyBuilder<SetValue<S>>where
S::Value: IsUnset,
pub fn value(self, value: String) -> EnvKeyBuilder<SetValue<S>>where
S::Value: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for EnvKeyBuilder<S>
impl<S> RefUnwindSafe for EnvKeyBuilder<S>
impl<S> Send for EnvKeyBuilder<S>
impl<S> Sync for EnvKeyBuilder<S>
impl<S> Unpin for EnvKeyBuilder<S>
impl<S> UnwindSafe for EnvKeyBuilder<S>
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