pub struct CrewFireEvent {
pub name: String,
pub crew_id: u64,
}
Expand description
Fired when the player fires a crew member.
Fields§
§name: String
The name of the crew member that was fired.
crew_id: u64
The id of the crew member that was fired.
Trait Implementations§
Source§impl Clone for CrewFireEvent
impl Clone for CrewFireEvent
Source§fn clone(&self) -> CrewFireEvent
fn clone(&self) -> CrewFireEvent
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 CrewFireEvent
impl Debug for CrewFireEvent
Source§impl<'de> Deserialize<'de> for CrewFireEvent
impl<'de> Deserialize<'de> for CrewFireEvent
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 CrewFireEvent
impl PartialEq for CrewFireEvent
Source§impl Serialize for CrewFireEvent
impl Serialize for CrewFireEvent
impl StructuralPartialEq for CrewFireEvent
Auto Trait Implementations§
impl Freeze for CrewFireEvent
impl RefUnwindSafe for CrewFireEvent
impl Send for CrewFireEvent
impl Sync for CrewFireEvent
impl Unpin for CrewFireEvent
impl UnwindSafe for CrewFireEvent
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