pub struct CrewHireEvent {
pub name: String,
pub crew_id: u64,
pub faction: String,
pub cost: u64,
pub combat_rank: CombatRank,
}
Expand description
Fired when the player fires a new crew member.
Fields§
§name: String
The name of the newly hired crew member.
crew_id: u64
The id of the newly hired crew member.
faction: String
The name of the faction the crew member is from.
cost: u64
The number of credits paid hiring the crew member.
combat_rank: CombatRank
The combat rank of the crew member.
Trait Implementations§
Source§impl Clone for CrewHireEvent
impl Clone for CrewHireEvent
Source§fn clone(&self) -> CrewHireEvent
fn clone(&self) -> CrewHireEvent
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 CrewHireEvent
impl Debug for CrewHireEvent
Source§impl<'de> Deserialize<'de> for CrewHireEvent
impl<'de> Deserialize<'de> for CrewHireEvent
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 CrewHireEvent
impl PartialEq for CrewHireEvent
Source§impl Serialize for CrewHireEvent
impl Serialize for CrewHireEvent
impl StructuralPartialEq for CrewHireEvent
Auto Trait Implementations§
impl Freeze for CrewHireEvent
impl RefUnwindSafe for CrewHireEvent
impl Send for CrewHireEvent
impl Sync for CrewHireEvent
impl Unpin for CrewHireEvent
impl UnwindSafe for CrewHireEvent
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