pub struct FactionKillBondEvent {
pub reward: u64,
pub awarding_faction: String,
pub awarding_faction_localized: Option<String>,
pub victim_faction: String,
pub victim_faction_localized: Option<String>,
}
Expand description
Fired when the player received a kill bond for a faction kill.
Fields§
§reward: u64
The reward in credits.
awarding_faction: String
The name of the rewarding faction.
awarding_faction_localized: Option<String>
The localized name of the rewarding faction.
victim_faction: String
The name of the victim faction.
victim_faction_localized: Option<String>
The localized name of the victim faction.
Trait Implementations§
Source§impl Clone for FactionKillBondEvent
impl Clone for FactionKillBondEvent
Source§fn clone(&self) -> FactionKillBondEvent
fn clone(&self) -> FactionKillBondEvent
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 FactionKillBondEvent
impl Debug for FactionKillBondEvent
Source§impl<'de> Deserialize<'de> for FactionKillBondEvent
impl<'de> Deserialize<'de> for FactionKillBondEvent
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 FactionKillBondEvent
impl PartialEq for FactionKillBondEvent
Source§impl Serialize for FactionKillBondEvent
impl Serialize for FactionKillBondEvent
impl StructuralPartialEq for FactionKillBondEvent
Auto Trait Implementations§
impl Freeze for FactionKillBondEvent
impl RefUnwindSafe for FactionKillBondEvent
impl Send for FactionKillBondEvent
impl Sync for FactionKillBondEvent
impl Unpin for FactionKillBondEvent
impl UnwindSafe for FactionKillBondEvent
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