pub struct MyCreditRegistration {Show 26 fields
pub id: Uuid,
pub course_id: Uuid,
pub course_name: String,
pub course_slug: String,
pub course_module_id: Uuid,
pub course_module_name: Option<String>,
pub uh_course_code: Option<String>,
pub ects_credits: Option<f32>,
pub completion_date: DateTime<Utc>,
pub student_facing_status: StudentFacingCreditRegistrationStatus,
pub registry_already_held_equal_or_better: bool,
pub status_is_moving: bool,
pub error_code: Option<CreditRegistrationErrorCode>,
pub next_attempt_at: DateTime<Utc>,
pub registered_at: Option<DateTime<Utc>>,
pub sisu_attainment_id: Option<String>,
pub grade_id: Option<String>,
pub grade_scale_id: Option<String>,
pub credits: Option<f32>,
pub attempt_number: i32,
pub superseded: bool,
pub can_request_enrolment_recheck: bool,
pub enrolment_realisation_name: Option<String>,
pub enrolment_link: Option<String>,
pub linking_email: Option<LinkingEmailStatus>,
pub notification_email: Option<NotificationEmailStatus>,
}Fields§
§id: Uuid§course_id: Uuid§course_name: String§course_slug: String§course_module_id: Uuid§course_module_name: Option<String>§uh_course_code: Option<String>§ects_credits: Option<f32>§completion_date: DateTime<Utc>§student_facing_status: StudentFacingCreditRegistrationStatus§registry_already_held_equal_or_better: boolThe registry declined this attempt because it already holds an equal or better grade. Still a
registered stage — the credit exists — but the student raised a grade and nothing changed,
so it earns a line of its own. Unlike the ledger state, this one is safe to expose: it says
something about the student’s own transcript and nothing about how we treat them.
status_is_moving: boolWhether the pipeline is still expected to move this row: drives the status page’s polling.
error_code: Option<CreditRegistrationErrorCode>§next_attempt_at: DateTime<Utc>§registered_at: Option<DateTime<Utc>>§sisu_attainment_id: Option<String>§grade_id: Option<String>§grade_scale_id: Option<String>Names the scale grade_id is on, without which “1” reads as a one out of five when it means
a pass.
credits: Option<f32>§attempt_number: i32§superseded: bool§can_request_enrolment_recheck: bool§enrolment_realisation_name: Option<String>§enrolment_link: Option<String>The open university enrolment page, for a row the study registry has no enrolment for.
linking_email: Option<LinkingEmailStatus>Only on a row waiting for a student number whose account was linked at some point: the mail is addressed to a Sisu person, and a never-linked account names none.
notification_email: Option<NotificationEmailStatus>The terminal-state mail this row’s status has, if one has been queued.
Trait Implementations§
Source§impl Clone for MyCreditRegistration
impl Clone for MyCreditRegistration
Source§fn clone(&self) -> MyCreditRegistration
fn clone(&self) -> MyCreditRegistration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ComposeSchema for MyCreditRegistration
impl ComposeSchema for MyCreditRegistration
Source§impl Debug for MyCreditRegistration
impl Debug for MyCreditRegistration
Source§impl<'de> Deserialize<'de> for MyCreditRegistration
impl<'de> Deserialize<'de> for MyCreditRegistration
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 MyCreditRegistration
impl PartialEq for MyCreditRegistration
Source§impl Serialize for MyCreditRegistration
impl Serialize for MyCreditRegistration
Source§impl ToSchema for MyCreditRegistration
impl ToSchema for MyCreditRegistration
impl StructuralPartialEq for MyCreditRegistration
Auto Trait Implementations§
impl Freeze for MyCreditRegistration
impl RefUnwindSafe for MyCreditRegistration
impl Send for MyCreditRegistration
impl Sync for MyCreditRegistration
impl Unpin for MyCreditRegistration
impl UnsafeUnpin for MyCreditRegistration
impl UnwindSafe for MyCreditRegistration
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].