pub enum EnvKind {
Development,
Staging,
Production,
}Expand description
Environment type
Variants§
Implementations§
Trait Implementations§
impl Copy for EnvKind
Source§impl<'de> Deserialize<'de> for EnvKind
impl<'de> Deserialize<'de> for EnvKind
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 EnvKind
impl StructuralPartialEq for EnvKind
Auto Trait Implementations§
impl Freeze for EnvKind
impl RefUnwindSafe for EnvKind
impl Send for EnvKind
impl Sync for EnvKind
impl Unpin for EnvKind
impl UnsafeUnpin for EnvKind
impl UnwindSafe for EnvKind
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