pub enum GradingProgress {
Failed,
NotReady,
PendingManual,
Pending,
FullyGraded,
}Expand description
Tells what’s the status of the grading progress for a user and exercise.
As close as possible LTI’s grading progress for compatibility: https://www.imsglobal.org/spec/lti-ags/v2p0#gradingprogress
Variants§
Failed
The grading could not complete.
NotReady
There is no grading process occurring; for example, the student has not yet made any submission.
PendingManual
Final Grade is pending, and it does require human intervention; if a Score value is present, it indicates the current value is partial and may be updated during the manual grading.
Pending
Final Grade is pending, but does not require manual intervention; if a Score value is present, it indicates the current value is partial and may be updated.
FullyGraded
The grading process is completed; the score value, if any, represents the current Final Grade;
Implementations§
Source§impl GradingProgress
impl GradingProgress
pub fn is_complete(self) -> bool
Trait Implementations§
Source§impl Clone for GradingProgress
impl Clone for GradingProgress
Source§fn clone(&self) -> GradingProgress
fn clone(&self) -> GradingProgress
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GradingProgress
impl Debug for GradingProgress
Source§impl<'r> Decode<'r, Postgres> for GradingProgress
impl<'r> Decode<'r, Postgres> for GradingProgress
Source§impl<'de> Deserialize<'de> for GradingProgress
impl<'de> Deserialize<'de> for GradingProgress
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>,
Source§impl Display for GradingProgress
impl Display for GradingProgress
Source§impl<'q, DB: Database> Encode<'q, DB> for GradingProgress
impl<'q, DB: Database> Encode<'q, DB> for GradingProgress
Source§fn encode_by_ref(
&self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, BoxDynError>
fn encode_by_ref( &self, buf: &mut <DB as Database>::ArgumentBuffer<'q>, ) -> Result<IsNull, BoxDynError>
fn size_hint(&self) -> usize
Source§fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
fn encode(
self,
buf: &mut <DB as Database>::ArgumentBuffer<'q>,
) -> Result<IsNull, Box<dyn Error + Send + Sync>>where
Self: Sized,
self into buf in the expected format for the database.fn produces(&self) -> Option<<DB as Database>::TypeInfo>
Source§impl Ord for GradingProgress
impl Ord for GradingProgress
Source§fn cmp(&self, other: &GradingProgress) -> Ordering
fn cmp(&self, other: &GradingProgress) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for GradingProgress
impl PartialEq for GradingProgress
Source§impl PartialOrd for GradingProgress
impl PartialOrd for GradingProgress
Source§impl PgHasArrayType for GradingProgress
impl PgHasArrayType for GradingProgress
fn array_type_info() -> PgTypeInfo
fn array_compatible(ty: &PgTypeInfo) -> bool
Source§impl Serialize for GradingProgress
impl Serialize for GradingProgress
Source§impl Type<Postgres> for GradingProgress
impl Type<Postgres> for GradingProgress
impl Copy for GradingProgress
impl Eq for GradingProgress
impl StructuralPartialEq for GradingProgress
Auto Trait Implementations§
impl Freeze for GradingProgress
impl RefUnwindSafe for GradingProgress
impl Send for GradingProgress
impl Sync for GradingProgress
impl Unpin for GradingProgress
impl UnwindSafe for GradingProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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>
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>
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.