pub struct PayBountiesEvent {
pub amount: u64,
pub broker_percentage: Option<f32>,
pub all_fines: bool,
pub faction: Option<String>,
pub faction_localized: Option<String>,
pub ship_id: u64,
}
Expand description
Fired when the player has paid of their bounties.
Fields§
§amount: u64
The number of credits paid.
broker_percentage: Option<f32>
The percentage the broker took.
all_fines: bool
Whether all fines have been paid in one go.
faction: Option<String>
The faction the bounties were paid at.
faction_localized: Option<String>
The localized name of the faction the bounties were paid at.
ship_id: u64
The id current active ship.
Trait Implementations§
Source§impl Clone for PayBountiesEvent
impl Clone for PayBountiesEvent
Source§fn clone(&self) -> PayBountiesEvent
fn clone(&self) -> PayBountiesEvent
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 PayBountiesEvent
impl Debug for PayBountiesEvent
Source§impl<'de> Deserialize<'de> for PayBountiesEvent
impl<'de> Deserialize<'de> for PayBountiesEvent
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 PayBountiesEvent
impl PartialEq for PayBountiesEvent
Source§impl Serialize for PayBountiesEvent
impl Serialize for PayBountiesEvent
impl StructuralPartialEq for PayBountiesEvent
Auto Trait Implementations§
impl Freeze for PayBountiesEvent
impl RefUnwindSafe for PayBountiesEvent
impl Send for PayBountiesEvent
impl Sync for PayBountiesEvent
impl Unpin for PayBountiesEvent
impl UnwindSafe for PayBountiesEvent
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