pub struct CommunityGoalRewardEvent {
pub cgid: u64,
pub name: String,
pub system_name: String,
pub reward: u64,
}
Expand description
Fired when the player receives credits for participating in a community goal.
Fields§
§cgid: u64
The id of the community goal.
name: String
The name of the community goal.
system_name: String
The system where the community goal is located in.
reward: u64
The number of credits the player has been awarded for participating in the community goal.
Trait Implementations§
Source§impl Clone for CommunityGoalRewardEvent
impl Clone for CommunityGoalRewardEvent
Source§fn clone(&self) -> CommunityGoalRewardEvent
fn clone(&self) -> CommunityGoalRewardEvent
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 CommunityGoalRewardEvent
impl Debug for CommunityGoalRewardEvent
Source§impl<'de> Deserialize<'de> for CommunityGoalRewardEvent
impl<'de> Deserialize<'de> for CommunityGoalRewardEvent
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 CommunityGoalRewardEvent
impl PartialEq for CommunityGoalRewardEvent
Source§impl Serialize for CommunityGoalRewardEvent
impl Serialize for CommunityGoalRewardEvent
impl StructuralPartialEq for CommunityGoalRewardEvent
Auto Trait Implementations§
impl Freeze for CommunityGoalRewardEvent
impl RefUnwindSafe for CommunityGoalRewardEvent
impl Send for CommunityGoalRewardEvent
impl Sync for CommunityGoalRewardEvent
impl Unpin for CommunityGoalRewardEvent
impl UnwindSafe for CommunityGoalRewardEvent
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