pub struct UserExerciseStateUpdateRequiredData {
pub exercise: Exercise,
pub current_user_exercise_state: UserExerciseState,
pub peer_or_self_review_information: Option<UserExerciseStateUpdateRequiredDataPeerReviewInformation>,
pub latest_teacher_grading_decision: Option<TeacherGradingDecision>,
pub user_exercise_slide_state_grading_summary: UserExerciseSlideStateGradingSummary,
}Expand description
Visible only in the current module (and submodules) to prevent misuse.
Fields§
§exercise: Exercise§current_user_exercise_state: UserExerciseState§peer_or_self_review_information: Option<UserExerciseStateUpdateRequiredDataPeerReviewInformation>None if peer review is not enabled for the exercise
latest_teacher_grading_decision: Option<TeacherGradingDecision>None if a teacher has not made a grading decision yet.
user_exercise_slide_state_grading_summary: UserExerciseSlideStateGradingSummaryThe grades summed up from all the user exercise slide states. Note that multiple slides can give points, and they are all aggregated here.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserExerciseStateUpdateRequiredData
impl RefUnwindSafe for UserExerciseStateUpdateRequiredData
impl Send for UserExerciseStateUpdateRequiredData
impl Sync for UserExerciseStateUpdateRequiredData
impl Unpin for UserExerciseStateUpdateRequiredData
impl UnwindSafe for UserExerciseStateUpdateRequiredData
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more