pub enum ShipModuleSymbol {
Show 20 variants
ModuleMineralProcessorI,
ModuleGasProcessorI,
ModuleCargoHoldI,
ModuleCargoHoldIi,
ModuleCargoHoldIii,
ModuleCrewQuartersI,
ModuleEnvoyQuartersI,
ModulePassengerCabinI,
ModuleMicroRefineryI,
ModuleOreRefineryI,
ModuleFuelRefineryI,
ModuleScienceLabI,
ModuleJumpDriveI,
ModuleJumpDriveIi,
ModuleJumpDriveIii,
ModuleWarpDriveI,
ModuleWarpDriveIi,
ModuleWarpDriveIii,
ModuleShieldGeneratorI,
ModuleShieldGeneratorIi,
}Expand description
The symbol of the module.
JSON schema
{
"description": "The symbol of the module.",
"type": "string",
"enum": [
"MODULE_MINERAL_PROCESSOR_I",
"MODULE_GAS_PROCESSOR_I",
"MODULE_CARGO_HOLD_I",
"MODULE_CARGO_HOLD_II",
"MODULE_CARGO_HOLD_III",
"MODULE_CREW_QUARTERS_I",
"MODULE_ENVOY_QUARTERS_I",
"MODULE_PASSENGER_CABIN_I",
"MODULE_MICRO_REFINERY_I",
"MODULE_ORE_REFINERY_I",
"MODULE_FUEL_REFINERY_I",
"MODULE_SCIENCE_LAB_I",
"MODULE_JUMP_DRIVE_I",
"MODULE_JUMP_DRIVE_II",
"MODULE_JUMP_DRIVE_III",
"MODULE_WARP_DRIVE_I",
"MODULE_WARP_DRIVE_II",
"MODULE_WARP_DRIVE_III",
"MODULE_SHIELD_GENERATOR_I",
"MODULE_SHIELD_GENERATOR_II"
]
}Variants§
ModuleMineralProcessorI
ModuleGasProcessorI
ModuleCargoHoldI
ModuleCargoHoldIi
ModuleCargoHoldIii
ModuleCrewQuartersI
ModuleEnvoyQuartersI
ModulePassengerCabinI
ModuleMicroRefineryI
ModuleOreRefineryI
ModuleFuelRefineryI
ModuleScienceLabI
ModuleJumpDriveI
ModuleJumpDriveIi
ModuleJumpDriveIii
ModuleWarpDriveI
ModuleWarpDriveIi
ModuleWarpDriveIii
ModuleShieldGeneratorI
ModuleShieldGeneratorIi
Trait Implementations§
Source§impl Clone for ShipModuleSymbol
impl Clone for ShipModuleSymbol
Source§fn clone(&self) -> ShipModuleSymbol
fn clone(&self) -> ShipModuleSymbol
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 ShipModuleSymbol
Source§impl Debug for ShipModuleSymbol
impl Debug for ShipModuleSymbol
Source§impl<'de> Deserialize<'de> for ShipModuleSymbol
impl<'de> Deserialize<'de> for ShipModuleSymbol
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 ShipModuleSymbol
impl Display for ShipModuleSymbol
impl Eq for ShipModuleSymbol
Source§impl FromStr for ShipModuleSymbol
impl FromStr for ShipModuleSymbol
Source§impl Hash for ShipModuleSymbol
impl Hash for ShipModuleSymbol
Source§impl Ord for ShipModuleSymbol
impl Ord for ShipModuleSymbol
Source§fn cmp(&self, other: &ShipModuleSymbol) -> Ordering
fn cmp(&self, other: &ShipModuleSymbol) -> 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 ShipModuleSymbol
impl PartialEq for ShipModuleSymbol
Source§fn eq(&self, other: &ShipModuleSymbol) -> bool
fn eq(&self, other: &ShipModuleSymbol) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ShipModuleSymbol
impl PartialOrd for ShipModuleSymbol
Source§impl Serialize for ShipModuleSymbol
impl Serialize for ShipModuleSymbol
impl StructuralPartialEq for ShipModuleSymbol
Source§impl TryFrom<&String> for ShipModuleSymbol
impl TryFrom<&String> for ShipModuleSymbol
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ShipModuleSymbol
impl TryFrom<&str> for ShipModuleSymbol
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ShipModuleSymbol
impl TryFrom<String> for ShipModuleSymbol
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ShipModuleSymbol
impl RefUnwindSafe for ShipModuleSymbol
impl Send for ShipModuleSymbol
impl Sync for ShipModuleSymbol
impl Unpin for ShipModuleSymbol
impl UnsafeUnpin for ShipModuleSymbol
impl UnwindSafe for ShipModuleSymbol
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