pub struct NPCCrewWagePaidEvent {
pub npc_crew_name: String,
pub npc_crew_id: u64,
pub amount: u64,
}
Expand description
Fired when the player paid the wage of an NPC, which happens automatically.
Fields§
§npc_crew_name: String
The name of the NPC that was paid.
npc_crew_id: u64
The id of the NPC that was paid.
amount: u64
The number of credits that were paid to the NPC.
Trait Implementations§
Source§impl Clone for NPCCrewWagePaidEvent
impl Clone for NPCCrewWagePaidEvent
Source§fn clone(&self) -> NPCCrewWagePaidEvent
fn clone(&self) -> NPCCrewWagePaidEvent
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 NPCCrewWagePaidEvent
impl Debug for NPCCrewWagePaidEvent
Source§impl<'de> Deserialize<'de> for NPCCrewWagePaidEvent
impl<'de> Deserialize<'de> for NPCCrewWagePaidEvent
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 NPCCrewWagePaidEvent
impl PartialEq for NPCCrewWagePaidEvent
Source§impl Serialize for NPCCrewWagePaidEvent
impl Serialize for NPCCrewWagePaidEvent
impl StructuralPartialEq for NPCCrewWagePaidEvent
Auto Trait Implementations§
impl Freeze for NPCCrewWagePaidEvent
impl RefUnwindSafe for NPCCrewWagePaidEvent
impl Send for NPCCrewWagePaidEvent
impl Sync for NPCCrewWagePaidEvent
impl Unpin for NPCCrewWagePaidEvent
impl UnwindSafe for NPCCrewWagePaidEvent
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