pub enum ShipType {
Show 43 variants
Adder,
AllianceChallenger,
AllianceChieftain,
AllianceCrusader,
Anaconda,
AspExplorer,
AspScout,
BelugaLiner,
CobraMkIII,
CobraMkIV,
CobraMkV,
DiamondBackExplorer,
DiamondBackScout,
Dolphin,
Eagle,
FederalAssaultShip,
FederalCorvette,
FederalDropship,
FederalGunship,
FerDeLance,
Hauler,
ImperialClipper,
ImperialCourier,
ImperialCutter,
ImperialEagle,
Keelback,
KraitMkII,
KraitPhantom,
Mamba,
Mandalay,
Orca,
Python,
PythonMkII,
SideWinder,
Type10Defender,
Type6Transporter,
Type7Transporter,
Type8Transporter,
Type9Heavy,
ViperMkIII,
ViperMkIV,
Vulture,
Unknown(String),
}
Variants§
Adder
AllianceChallenger
AllianceChieftain
AllianceCrusader
Anaconda
AspExplorer
AspScout
BelugaLiner
CobraMkIII
CobraMkIV
CobraMkV
DiamondBackExplorer
DiamondBackScout
Dolphin
Eagle
FederalAssaultShip
FederalCorvette
FederalDropship
FederalGunship
FerDeLance
Hauler
ImperialClipper
ImperialCourier
ImperialCutter
ImperialEagle
Keelback
KraitMkII
KraitPhantom
Mamba
Mandalay
Orca
Python
PythonMkII
SideWinder
Type10Defender
Type6Transporter
Type7Transporter
Type8Transporter
Type9Heavy
ViperMkIII
ViperMkIV
Vulture
Unknown(String)
Available on crate feature
allow-unknown
only.Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShipType
impl<'de> Deserialize<'de> for ShipType
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
impl StructuralPartialEq for ShipType
Auto Trait Implementations§
impl Freeze for ShipType
impl RefUnwindSafe for ShipType
impl Send for ShipType
impl Sync for ShipType
impl Unpin for ShipType
impl UnwindSafe for ShipType
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