pub struct BountyEventNormalReward {
pub faction: String,
pub reward: u64,
}
Expand description
Details about the reward for the bounty.
Fields§
§faction: String
The name of the faction that contributed to the reward.
reward: u64
The contribution of the faction to the total reward.
Trait Implementations§
Source§impl Clone for BountyEventNormalReward
impl Clone for BountyEventNormalReward
Source§fn clone(&self) -> BountyEventNormalReward
fn clone(&self) -> BountyEventNormalReward
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 BountyEventNormalReward
impl Debug for BountyEventNormalReward
Source§impl<'de> Deserialize<'de> for BountyEventNormalReward
impl<'de> Deserialize<'de> for BountyEventNormalReward
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 BountyEventNormalReward
impl PartialEq for BountyEventNormalReward
Source§impl Serialize for BountyEventNormalReward
impl Serialize for BountyEventNormalReward
impl StructuralPartialEq for BountyEventNormalReward
Auto Trait Implementations§
impl Freeze for BountyEventNormalReward
impl RefUnwindSafe for BountyEventNormalReward
impl Send for BountyEventNormalReward
impl Sync for BountyEventNormalReward
impl Unpin for BountyEventNormalReward
impl UnwindSafe for BountyEventNormalReward
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