pub struct UserActivity {Show 17 fields
pub interval: ActivityInterval,
pub games: Option<HashMap<String, UserActivityScore>>,
pub puzzles: Option<PuzzleActivity>,
pub storm: Option<PuzzleModePerf>,
pub racer: Option<PuzzleModePerf>,
pub streak: Option<PuzzleModePerf>,
pub tournaments: Option<TournamentActivity>,
pub practice: Option<Vec<PracticeActivity>>,
pub simuls: Option<Vec<String>>,
pub correspondence_moves: Option<CorrespondenceMoves>,
pub correspondence_ends: Option<CorrespondenceEnds>,
pub follows: Option<FollowActivity>,
pub studies: Option<Value>,
pub teams: Option<Vec<TeamActivity>>,
pub posts: Option<Vec<PostActivity>>,
pub patron: Option<PatronActivity>,
pub stream: Option<bool>,
}Fields§
§interval: ActivityInterval§games: Option<HashMap<String, UserActivityScore>>§puzzles: Option<PuzzleActivity>§storm: Option<PuzzleModePerf>§racer: Option<PuzzleModePerf>§streak: Option<PuzzleModePerf>§tournaments: Option<TournamentActivity>§practice: Option<Vec<PracticeActivity>>§simuls: Option<Vec<String>>§correspondence_moves: Option<CorrespondenceMoves>§correspondence_ends: Option<CorrespondenceEnds>§follows: Option<FollowActivity>§studies: Option<Value>§teams: Option<Vec<TeamActivity>>§posts: Option<Vec<PostActivity>>§patron: Option<PatronActivity>§stream: Option<bool>Trait Implementations§
Source§impl Clone for UserActivity
impl Clone for UserActivity
Source§fn clone(&self) -> UserActivity
fn clone(&self) -> UserActivity
Returns a duplicate 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 UserActivity
impl Debug for UserActivity
Source§impl<'de> Deserialize<'de> for UserActivity
impl<'de> Deserialize<'de> for UserActivity
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
Auto Trait Implementations§
impl Freeze for UserActivity
impl RefUnwindSafe for UserActivity
impl Send for UserActivity
impl Sync for UserActivity
impl Unpin for UserActivity
impl UnwindSafe for UserActivity
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