Struct headless_lms_models::exercises::ExerciseStatus
source · pub struct ExerciseStatus {
pub score_given: Option<f32>,
pub activity_progress: ActivityProgress,
pub grading_progress: GradingProgress,
pub reviewing_stage: ReviewingStage,
}
Fields§
§score_given: Option<f32>
§activity_progress: ActivityProgress
§grading_progress: GradingProgress
§reviewing_stage: ReviewingStage
Trait Implementations§
source§impl Clone for ExerciseStatus
impl Clone for ExerciseStatus
source§fn clone(&self) -> ExerciseStatus
fn clone(&self) -> ExerciseStatus
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 ExerciseStatus
impl Debug for ExerciseStatus
source§impl<'de> Deserialize<'de> for ExerciseStatus
impl<'de> Deserialize<'de> for ExerciseStatus
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 ExerciseStatus
impl PartialEq for ExerciseStatus
source§fn eq(&self, other: &ExerciseStatus) -> bool
fn eq(&self, other: &ExerciseStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExerciseStatus
impl Serialize for ExerciseStatus
impl StructuralPartialEq for ExerciseStatus
Auto Trait Implementations§
impl RefUnwindSafe for ExerciseStatus
impl Send for ExerciseStatus
impl Sync for ExerciseStatus
impl Unpin for ExerciseStatus
impl UnwindSafe for ExerciseStatus
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