pub struct ProgressSummary {
pub total_lessons_completed: usize,
pub unique_commands_used: usize,
pub total_commands_executed: usize,
pub current_streak: usize,
pub longest_streak: usize,
pub achievements_unlocked: usize,
pub total_points: u32,
pub time_spent: String,
}Expand description
Summary of user progress
Fields§
§total_lessons_completed: usize§unique_commands_used: usize§total_commands_executed: usize§current_streak: usize§longest_streak: usize§achievements_unlocked: usize§total_points: u32§time_spent: StringTrait Implementations§
Source§impl Clone for ProgressSummary
impl Clone for ProgressSummary
Source§fn clone(&self) -> ProgressSummary
fn clone(&self) -> ProgressSummary
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 moreAuto Trait Implementations§
impl Freeze for ProgressSummary
impl RefUnwindSafe for ProgressSummary
impl Send for ProgressSummary
impl Sync for ProgressSummary
impl Unpin for ProgressSummary
impl UnwindSafe for ProgressSummary
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