pub struct CarrierStatsEventCrewEntry {
pub crew_role: CarrierCrewRole,
pub activated: bool,
pub enabled: bool,
pub crew_name: Option<String>,
}
Expand description
An entry for a given fleet carrier service.
Fields§
§crew_role: CarrierCrewRole
The service this entry is for.
activated: bool
Whether the given service is installed on the carrier.
enabled: bool
Whether the given service is currently enabled or is suspended.
crew_name: Option<String>
The name of the crew member shown in the services tab.
Trait Implementations§
Source§impl Clone for CarrierStatsEventCrewEntry
impl Clone for CarrierStatsEventCrewEntry
Source§fn clone(&self) -> CarrierStatsEventCrewEntry
fn clone(&self) -> CarrierStatsEventCrewEntry
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 CarrierStatsEventCrewEntry
impl Debug for CarrierStatsEventCrewEntry
Source§impl<'de> Deserialize<'de> for CarrierStatsEventCrewEntry
impl<'de> Deserialize<'de> for CarrierStatsEventCrewEntry
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 CarrierStatsEventCrewEntry
Auto Trait Implementations§
impl Freeze for CarrierStatsEventCrewEntry
impl RefUnwindSafe for CarrierStatsEventCrewEntry
impl Send for CarrierStatsEventCrewEntry
impl Sync for CarrierStatsEventCrewEntry
impl Unpin for CarrierStatsEventCrewEntry
impl UnwindSafe for CarrierStatsEventCrewEntry
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