pub struct CourseCreditRegistrationModuleSummary {
pub course_module_id: Uuid,
pub course_module_name: Option<String>,
pub enabled: bool,
pub paused: bool,
pub registration_count: i64,
pub registered_count: i64,
pub in_progress_count: i64,
pub waiting_on_student_count: i64,
pub failed_count: i64,
pub not_registering_count: i64,
pub needs_admin_attention_count: i64,
}Expand description
One module’s live registrations, split so a teacher can add the columns up.
registered_count, in_progress_count, waiting_on_student_count, failed_count and
not_registering_count partition registration_count: every live row falls in exactly one, and
each is the same classification the row’s own badge shows. needs_admin_attention_count is not
one of them — it cuts across all five — so it is never added to them.
Fields§
§course_module_id: Uuid§course_module_name: Option<String>§enabled: bool§paused: bool§registration_count: i64Live registrations of this module, replaced attempts excluded. Registrations, not completions: one per student per module, and a regrade replaces rather than adds.
registered_count: i64The credit exists in the study registry, whoever put it there.
in_progress_count: i64The pipeline is working on it and nobody has to do anything.
waiting_on_student_count: i64Waiting for the student: their completion, their student number or their enrolment.
failed_count: i64§not_registering_count: i64Blocked, cancelled or held until the course’s settings are fixed: nothing is moving.
needs_admin_attention_count: i64Rows the pipeline handed to support. Nothing for a teacher to do; shown so a module’s failures do not read as unattended.
Trait Implementations§
Source§impl Clone for CourseCreditRegistrationModuleSummary
impl Clone for CourseCreditRegistrationModuleSummary
Source§fn clone(&self) -> CourseCreditRegistrationModuleSummary
fn clone(&self) -> CourseCreditRegistrationModuleSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ComposeSchema for CourseCreditRegistrationModuleSummary
impl ComposeSchema for CourseCreditRegistrationModuleSummary
Source§impl<'de> Deserialize<'de> for CourseCreditRegistrationModuleSummary
impl<'de> Deserialize<'de> for CourseCreditRegistrationModuleSummary
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 PartialEq for CourseCreditRegistrationModuleSummary
impl PartialEq for CourseCreditRegistrationModuleSummary
Source§fn eq(&self, other: &CourseCreditRegistrationModuleSummary) -> bool
fn eq(&self, other: &CourseCreditRegistrationModuleSummary) -> bool
self and other values to be equal, and is used by ==.Source§impl ToSchema for CourseCreditRegistrationModuleSummary
impl ToSchema for CourseCreditRegistrationModuleSummary
impl StructuralPartialEq for CourseCreditRegistrationModuleSummary
Auto Trait Implementations§
impl Freeze for CourseCreditRegistrationModuleSummary
impl RefUnwindSafe for CourseCreditRegistrationModuleSummary
impl Send for CourseCreditRegistrationModuleSummary
impl Sync for CourseCreditRegistrationModuleSummary
impl Unpin for CourseCreditRegistrationModuleSummary
impl UnsafeUnpin for CourseCreditRegistrationModuleSummary
impl UnwindSafe for CourseCreditRegistrationModuleSummary
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,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].