Enum scsys_core::ApplicationMode 
source · [−]pub enum ApplicationMode {
    Development,
    Staging,
    Production,
    Custom(String),
}Variants
Development
Staging
Production
Custom(String)
Trait Implementations
sourceimpl Clone for ApplicationMode
 
impl Clone for ApplicationMode
sourcefn clone(&self) -> ApplicationMode
 
fn clone(&self) -> ApplicationMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl Debug for ApplicationMode
 
impl Debug for ApplicationMode
sourceimpl Default for ApplicationMode
 
impl Default for ApplicationMode
sourceimpl<'de> Deserialize<'de> for ApplicationMode
 
impl<'de> Deserialize<'de> for ApplicationMode
sourcefn 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
sourceimpl FromStr for ApplicationMode
 
impl FromStr for ApplicationMode
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl Hash for ApplicationMode
 
impl Hash for ApplicationMode
sourceimpl PartialEq<ApplicationMode> for ApplicationMode
 
impl PartialEq<ApplicationMode> for ApplicationMode
sourcefn eq(&self, other: &ApplicationMode) -> bool
 
fn eq(&self, other: &ApplicationMode) -> bool
sourceimpl Serialize for ApplicationMode
 
impl Serialize for ApplicationMode
sourceimpl TryFrom<&str> for ApplicationMode
 
impl TryFrom<&str> for ApplicationMode
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourceimpl VariantNames for ApplicationMode
 
impl VariantNames for ApplicationMode
impl Eq for ApplicationMode
impl StructuralEq for ApplicationMode
impl StructuralPartialEq for ApplicationMode
Auto Trait Implementations
impl RefUnwindSafe for ApplicationMode
impl Send for ApplicationMode
impl Sync for ApplicationMode
impl Unpin for ApplicationMode
impl UnwindSafe for ApplicationMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.