pub enum ServerRank {
Production,
Clone,
Demo,
Test,
Dev,
}Expand description
The environment tier of a server, from production down to dev.
JSON schema
{
"description": "The environment tier of a server, from `production` down to `dev`.",
"type": "string",
"enum": [
"production",
"clone",
"demo",
"test",
"dev"
]
}Variants§
Trait Implementations§
Source§impl Clone for ServerRank
impl Clone for ServerRank
Source§fn clone(&self) -> ServerRank
fn clone(&self) -> ServerRank
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 ServerRank
Source§impl Debug for ServerRank
impl Debug for ServerRank
Source§impl<'de> Deserialize<'de> for ServerRank
impl<'de> Deserialize<'de> for ServerRank
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 Display for ServerRank
impl Display for ServerRank
impl Eq for ServerRank
Source§impl FromStr for ServerRank
impl FromStr for ServerRank
Source§impl Hash for ServerRank
impl Hash for ServerRank
Source§impl Ord for ServerRank
impl Ord for ServerRank
Source§fn cmp(&self, other: &ServerRank) -> Ordering
fn cmp(&self, other: &ServerRank) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ServerRank
impl PartialEq for ServerRank
Source§impl PartialOrd for ServerRank
impl PartialOrd for ServerRank
Source§impl Serialize for ServerRank
impl Serialize for ServerRank
impl StructuralPartialEq for ServerRank
Source§impl TryFrom<&String> for ServerRank
impl TryFrom<&String> for ServerRank
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ServerRank
impl TryFrom<&str> for ServerRank
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ServerRank
impl TryFrom<String> for ServerRank
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ServerRank
impl RefUnwindSafe for ServerRank
impl Send for ServerRank
impl Sync for ServerRank
impl Unpin for ServerRank
impl UnsafeUnpin for ServerRank
impl UnwindSafe for ServerRank
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