pub enum SystemType {
NeutronStar,
RedStar,
OrangeStar,
BlueStar,
YoungStar,
WhiteDwarf,
BlackHole,
Hypergiant,
Nebula,
Unstable,
}Expand description
The type of system.
JSON schema
{
"description": "The type of system.",
"type": "string",
"enum": [
"NEUTRON_STAR",
"RED_STAR",
"ORANGE_STAR",
"BLUE_STAR",
"YOUNG_STAR",
"WHITE_DWARF",
"BLACK_HOLE",
"HYPERGIANT",
"NEBULA",
"UNSTABLE"
]
}Variants§
Trait Implementations§
Source§impl Clone for SystemType
impl Clone for SystemType
Source§fn clone(&self) -> SystemType
fn clone(&self) -> SystemType
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 SystemType
Source§impl Debug for SystemType
impl Debug for SystemType
Source§impl<'de> Deserialize<'de> for SystemType
impl<'de> Deserialize<'de> for SystemType
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 SystemType
impl Display for SystemType
impl Eq for SystemType
Source§impl FromStr for SystemType
impl FromStr for SystemType
Source§impl Hash for SystemType
impl Hash for SystemType
Source§impl Ord for SystemType
impl Ord for SystemType
Source§fn cmp(&self, other: &SystemType) -> Ordering
fn cmp(&self, other: &SystemType) -> 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
Source§impl PartialEq for SystemType
impl PartialEq for SystemType
Source§fn eq(&self, other: &SystemType) -> bool
fn eq(&self, other: &SystemType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SystemType
impl PartialOrd for SystemType
Source§impl Serialize for SystemType
impl Serialize for SystemType
impl StructuralPartialEq for SystemType
Source§impl TryFrom<&String> for SystemType
impl TryFrom<&String> for SystemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for SystemType
impl TryFrom<&str> for SystemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for SystemType
impl TryFrom<String> for SystemType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for SystemType
impl RefUnwindSafe for SystemType
impl Send for SystemType
impl Sync for SystemType
impl Unpin for SystemType
impl UnsafeUnpin for SystemType
impl UnwindSafe for SystemType
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