pub enum EnvKindView {
Default,
Prompted,
Required,
}Expand description
How a registry env var is treated: a default value, a prompted one the
user may override, or a required one they must supply.
Variants§
Trait Implementations§
Source§impl Clone for EnvKindView
impl Clone for EnvKindView
Source§fn clone(&self) -> EnvKindView
fn clone(&self) -> EnvKindView
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 moreimpl Copy for EnvKindView
Source§impl Debug for EnvKindView
impl Debug for EnvKindView
Source§impl<'de> Deserialize<'de> for EnvKindView
impl<'de> Deserialize<'de> for EnvKindView
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
impl Eq for EnvKindView
Source§impl PartialEq for EnvKindView
impl PartialEq for EnvKindView
Source§fn eq(&self, other: &EnvKindView) -> bool
fn eq(&self, other: &EnvKindView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnvKindView
impl Serialize for EnvKindView
impl StructuralPartialEq for EnvKindView
Auto Trait Implementations§
impl Freeze for EnvKindView
impl RefUnwindSafe for EnvKindView
impl Send for EnvKindView
impl Sync for EnvKindView
impl Unpin for EnvKindView
impl UnsafeUnpin for EnvKindView
impl UnwindSafe for EnvKindView
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