pub struct CarrierStatsEventSpaceUsage {
pub total_capacity: u16,
pub crew: u16,
pub cargo: u16,
pub cargo_space_reserved: u16,
pub ship_packs: u16,
pub module_packs: u16,
pub free_space: u16,
}
Expand description
Details about how much of the internal cargo space is being used.
Fields§
§total_capacity: u16
The total available capacity for the fleet carrier. This is always 25000.
crew: u16
How much of the available capacity is being used by services.
cargo: u16
How much of the available capacity is being used by stored cargo.
cargo_space_reserved: u16
How much of the available capacity is reserved for open buy orders.
ship_packs: u16
How much of the available capacity is being used for storing ship packs.
module_packs: u16
How much of the available capacity is being used for storing module packs.
free_space: u16
How much free space there is left.
Trait Implementations§
Source§impl Clone for CarrierStatsEventSpaceUsage
impl Clone for CarrierStatsEventSpaceUsage
Source§fn clone(&self) -> CarrierStatsEventSpaceUsage
fn clone(&self) -> CarrierStatsEventSpaceUsage
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 CarrierStatsEventSpaceUsage
impl Debug for CarrierStatsEventSpaceUsage
Source§impl<'de> Deserialize<'de> for CarrierStatsEventSpaceUsage
impl<'de> Deserialize<'de> for CarrierStatsEventSpaceUsage
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 CarrierStatsEventSpaceUsage
Auto Trait Implementations§
impl Freeze for CarrierStatsEventSpaceUsage
impl RefUnwindSafe for CarrierStatsEventSpaceUsage
impl Send for CarrierStatsEventSpaceUsage
impl Sync for CarrierStatsEventSpaceUsage
impl Unpin for CarrierStatsEventSpaceUsage
impl UnwindSafe for CarrierStatsEventSpaceUsage
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