pub struct StationInfoEconomy {
pub name: Economy,
pub name_localized: Option<String>,
pub proportion: f32,
}
Expand description
Information about an economy.
Fields§
§name: Economy
The type of economy.
name_localized: Option<String>
The localized name of the economy.
proportion: f32
The proportion of the economy. This is a number between 0 and 1 where it indicates how big of a factor the economy is at the given market.
Trait Implementations§
Source§impl Clone for StationInfoEconomy
impl Clone for StationInfoEconomy
Source§fn clone(&self) -> StationInfoEconomy
fn clone(&self) -> StationInfoEconomy
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 StationInfoEconomy
impl Debug for StationInfoEconomy
Source§impl<'de> Deserialize<'de> for StationInfoEconomy
impl<'de> Deserialize<'de> for StationInfoEconomy
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 PartialEq for StationInfoEconomy
impl PartialEq for StationInfoEconomy
Source§impl Serialize for StationInfoEconomy
impl Serialize for StationInfoEconomy
impl StructuralPartialEq for StationInfoEconomy
Auto Trait Implementations§
impl Freeze for StationInfoEconomy
impl RefUnwindSafe for StationInfoEconomy
impl Send for StationInfoEconomy
impl Sync for StationInfoEconomy
impl Unpin for StationInfoEconomy
impl UnwindSafe for StationInfoEconomy
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