pub struct UserCourseInstanceChapterProgress {
pub score_given: f32,
pub score_maximum: i32,
pub total_exercises: Option<u32>,
pub attempted_exercises: Option<u32>,
}
Fields§
§score_given: f32
§score_maximum: i32
§total_exercises: Option<u32>
§attempted_exercises: Option<u32>
Trait Implementations§
source§impl Clone for UserCourseInstanceChapterProgress
impl Clone for UserCourseInstanceChapterProgress
source§fn clone(&self) -> UserCourseInstanceChapterProgress
fn clone(&self) -> UserCourseInstanceChapterProgress
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<'de> Deserialize<'de> for UserCourseInstanceChapterProgress
impl<'de> Deserialize<'de> for UserCourseInstanceChapterProgress
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 UserCourseInstanceChapterProgress
impl PartialEq for UserCourseInstanceChapterProgress
source§fn eq(&self, other: &UserCourseInstanceChapterProgress) -> bool
fn eq(&self, other: &UserCourseInstanceChapterProgress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UserCourseInstanceChapterProgress
impl StructuralPartialEq for UserCourseInstanceChapterProgress
Auto Trait Implementations§
impl RefUnwindSafe for UserCourseInstanceChapterProgress
impl Send for UserCourseInstanceChapterProgress
impl Sync for UserCourseInstanceChapterProgress
impl Unpin for UserCourseInstanceChapterProgress
impl UnwindSafe for UserCourseInstanceChapterProgress
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