pub struct NPCCrewRankEvent {
pub npc_crew_name: String,
pub npc_crew_id: u64,
pub rank_combat: CombatRank,
}
Expand description
Fired when there is a change in the combat rank of one of the hired crew members.
Fields§
§npc_crew_name: String
The name of the crew member that has a change in combat rank.
npc_crew_id: u64
The id of the crew member that has a change in combat rank.
rank_combat: CombatRank
The new combat rank for this NPC.
Trait Implementations§
Source§impl Clone for NPCCrewRankEvent
impl Clone for NPCCrewRankEvent
Source§fn clone(&self) -> NPCCrewRankEvent
fn clone(&self) -> NPCCrewRankEvent
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 NPCCrewRankEvent
impl Debug for NPCCrewRankEvent
Source§impl<'de> Deserialize<'de> for NPCCrewRankEvent
impl<'de> Deserialize<'de> for NPCCrewRankEvent
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 NPCCrewRankEvent
impl PartialEq for NPCCrewRankEvent
Source§impl Serialize for NPCCrewRankEvent
impl Serialize for NPCCrewRankEvent
impl StructuralPartialEq for NPCCrewRankEvent
Auto Trait Implementations§
impl Freeze for NPCCrewRankEvent
impl RefUnwindSafe for NPCCrewRankEvent
impl Send for NPCCrewRankEvent
impl Sync for NPCCrewRankEvent
impl Unpin for NPCCrewRankEvent
impl UnwindSafe for NPCCrewRankEvent
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