pub struct BountyEventNormal {
pub rewards: Vec<BountyEventNormalReward>,
pub pilot_name: Option<String>,
pub pilot_name_localized: Option<String>,
pub target: BountyEventTarget,
pub target_localized: Option<String>,
pub total_reward: u64,
pub victim_faction: String,
}
Expand description
Details about the normal bounty.
Fields§
§rewards: Vec<BountyEventNormalReward>
A list of rewards which are rewarded when the player hands in the bounty.
pilot_name: Option<String>
The name of the pilot the player took down, if any.
pilot_name_localized: Option<String>
The localized name of the pilot the player took down.
target: BountyEventTarget
The target of the bounty.
target_localized: Option<String>
The name of the target localized.
total_reward: u64
The total reward of credits that are rewarded for this bounty.
victim_faction: String
The name of the faction the victim is a part of.
Trait Implementations§
Source§impl Clone for BountyEventNormal
impl Clone for BountyEventNormal
Source§fn clone(&self) -> BountyEventNormal
fn clone(&self) -> BountyEventNormal
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 BountyEventNormal
impl Debug for BountyEventNormal
Source§impl<'de> Deserialize<'de> for BountyEventNormal
impl<'de> Deserialize<'de> for BountyEventNormal
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 BountyEventNormal
impl PartialEq for BountyEventNormal
Source§impl Serialize for BountyEventNormal
impl Serialize for BountyEventNormal
impl StructuralPartialEq for BountyEventNormal
Auto Trait Implementations§
impl Freeze for BountyEventNormal
impl RefUnwindSafe for BountyEventNormal
impl Send for BountyEventNormal
impl Sync for BountyEventNormal
impl Unpin for BountyEventNormal
impl UnwindSafe for BountyEventNormal
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