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