pub enum EnvironmentEnum {
Prod,
Stage,
Dev,
}Expand description
The environment of the project. prod Production stage Staging dev Development
Variants§
Trait Implementations§
Source§impl Clone for EnvironmentEnum
impl Clone for EnvironmentEnum
Source§fn clone(&self) -> EnvironmentEnum
fn clone(&self) -> EnvironmentEnum
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnvironmentEnum
impl Debug for EnvironmentEnum
Source§impl Default for EnvironmentEnum
impl Default for EnvironmentEnum
Source§fn default() -> EnvironmentEnum
fn default() -> EnvironmentEnum
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnvironmentEnum
impl<'de> Deserialize<'de> for EnvironmentEnum
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
Source§impl Hash for EnvironmentEnum
impl Hash for EnvironmentEnum
Source§impl Ord for EnvironmentEnum
impl Ord for EnvironmentEnum
Source§fn cmp(&self, other: &EnvironmentEnum) -> Ordering
fn cmp(&self, other: &EnvironmentEnum) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EnvironmentEnum
impl PartialEq for EnvironmentEnum
Source§impl PartialOrd for EnvironmentEnum
impl PartialOrd for EnvironmentEnum
Source§impl Serialize for EnvironmentEnum
impl Serialize for EnvironmentEnum
impl Copy for EnvironmentEnum
impl Eq for EnvironmentEnum
impl StructuralPartialEq for EnvironmentEnum
Auto Trait Implementations§
impl Freeze for EnvironmentEnum
impl RefUnwindSafe for EnvironmentEnum
impl Send for EnvironmentEnum
impl Sync for EnvironmentEnum
impl Unpin for EnvironmentEnum
impl UnwindSafe for EnvironmentEnum
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