pub struct ExampleExerciseFlexibleParams {
pub exercise_id: Uuid,
pub exercise_name: String,
pub exercise_slides: Vec<(Uuid, Vec<(Uuid, String, Value, Value)>)>,
pub client_id: Uuid,
pub needs_peer_review: Option<bool>,
pub peer_or_self_review_config: Option<CmsPeerOrSelfReviewConfig>,
pub peer_or_self_review_questions: Option<Vec<CmsPeerOrSelfReviewQuestion>>,
pub teacher_reviews_answer_after_locking: bool,
}Fields§
§exercise_id: Uuid§exercise_name: String§exercise_slides: Vec<(Uuid, Vec<(Uuid, String, Value, Value)>)>§client_id: Uuid§needs_peer_review: Option<bool>§peer_or_self_review_config: Option<CmsPeerOrSelfReviewConfig>§peer_or_self_review_questions: Option<Vec<CmsPeerOrSelfReviewQuestion>>§teacher_reviews_answer_after_locking: boolAuto Trait Implementations§
impl Freeze for ExampleExerciseFlexibleParams
impl RefUnwindSafe for ExampleExerciseFlexibleParams
impl Send for ExampleExerciseFlexibleParams
impl Sync for ExampleExerciseFlexibleParams
impl Unpin for ExampleExerciseFlexibleParams
impl UnwindSafe for ExampleExerciseFlexibleParams
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