Struct headless_lms_models::library::grading::ExerciseStateUpdateNeedToUpdatePeerReviewStatusWithThis
source · pub struct ExerciseStateUpdateNeedToUpdatePeerReviewStatusWithThis {
pub given_enough_peer_reviews: bool,
pub received_enough_peer_reviews: bool,
pub peer_review_processing_strategy: PeerReviewProcessingStrategy,
pub peer_review_accepting_threshold: f32,
pub received_peer_or_self_review_question_submissions: Vec<PeerOrSelfReviewQuestionSubmission>,
}
Expand description
If passed to to an exercise state update, it will update the peer review status with the given information
Fields§
§given_enough_peer_reviews: bool
§received_enough_peer_reviews: bool
§peer_review_processing_strategy: PeerReviewProcessingStrategy
§peer_review_accepting_threshold: f32
§received_peer_or_self_review_question_submissions: Vec<PeerOrSelfReviewQuestionSubmission>
Used to for calculating averages when acting on PeerReviewProcessingStrategy
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExerciseStateUpdateNeedToUpdatePeerReviewStatusWithThis
impl Send for ExerciseStateUpdateNeedToUpdatePeerReviewStatusWithThis
impl Sync for ExerciseStateUpdateNeedToUpdatePeerReviewStatusWithThis
impl Unpin for ExerciseStateUpdateNeedToUpdatePeerReviewStatusWithThis
impl UnwindSafe for ExerciseStateUpdateNeedToUpdatePeerReviewStatusWithThis
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