pub enum Superpower {
Alliance,
Empire,
Federation,
Guardian,
Independent,
PilotsFederation,
PlayerPilots,
Thargoid,
Unknown(String),
}
Variants§
Alliance
Empire
Federation
Guardian
Independent
PilotsFederation
PlayerPilots
Thargoid
Unknown(String)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl Clone for Superpower
impl Clone for Superpower
Source§fn clone(&self) -> Superpower
fn clone(&self) -> Superpower
Returns a copy 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 Superpower
impl Debug for Superpower
Source§impl<'de> Deserialize<'de> for Superpower
impl<'de> Deserialize<'de> for Superpower
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 Superpower
impl Display for Superpower
Source§impl PartialEq for Superpower
impl PartialEq for Superpower
Source§impl Serialize for Superpower
impl Serialize for Superpower
impl StructuralPartialEq for Superpower
Auto Trait Implementations§
impl Freeze for Superpower
impl RefUnwindSafe for Superpower
impl Send for Superpower
impl Sync for Superpower
impl Unpin for Superpower
impl UnwindSafe for Superpower
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