Struct g_rust::extension::parsers::subparsers::CommunityGoalData
source · pub struct CommunityGoalData {
pub has_goal_expired: bool,
pub personal_contribution_score: i32,
pub personal_contribution_rank: i32,
pub community_total_score: i32,
pub community_highest_achieved_level: i32,
pub score_remaining_until_next_level: i32,
pub percent_completion_towards_next_level: i32,
pub goal_code: String,
pub time_remaining_in_seconds: i32,
pub reward_user_limits: Vec<i32>,
}
Fields§
§has_goal_expired: bool
§personal_contribution_score: i32
§personal_contribution_rank: i32
§community_total_score: i32
§community_highest_achieved_level: i32
§score_remaining_until_next_level: i32
§percent_completion_towards_next_level: i32
§goal_code: String
§time_remaining_in_seconds: i32
§reward_user_limits: Vec<i32>
Trait Implementations§
source§impl Clone for CommunityGoalData
impl Clone for CommunityGoalData
source§fn clone(&self) -> CommunityGoalData
fn clone(&self) -> CommunityGoalData
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 CommunityGoalData
impl Debug for CommunityGoalData
source§impl Default for CommunityGoalData
impl Default for CommunityGoalData
source§fn default() -> CommunityGoalData
fn default() -> CommunityGoalData
Returns the “default value” for a type. Read more
source§impl PacketVariable for CommunityGoalData
impl PacketVariable for CommunityGoalData
source§impl PartialEq<CommunityGoalData> for CommunityGoalData
impl PartialEq<CommunityGoalData> for CommunityGoalData
source§fn eq(&self, other: &CommunityGoalData) -> bool
fn eq(&self, other: &CommunityGoalData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CommunityGoalData
Auto Trait Implementations§
impl RefUnwindSafe for CommunityGoalData
impl Send for CommunityGoalData
impl Sync for CommunityGoalData
impl Unpin for CommunityGoalData
impl UnwindSafe for CommunityGoalData
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