pub struct StudyRegistryCompletion {
pub completion_date: DateTime<Utc>,
pub completion_language: String,
pub completion_registration_attempt_date: Option<DateTime<Utc>>,
pub email: String,
pub grade: StudyRegistryGrade,
pub id: Uuid,
pub user_id: Uuid,
pub tier: Option<i32>,
}
Expand description
Completion in the form that is recognized by authorized third party study registry registrars.
Fields§
§completion_date: DateTime<Utc>
The date when the student completed the course. The value of this field is the date that will end up in the user’s study registry as the completion date. If the completion is created automatically, it is the date when the student passed the completion thresholds. If the teacher creates these completions manually, the teacher inputs this value. Usually the teacher would in this case input the date of the exam.
completion_language: String
The language used in the completion of the course.
completion_registration_attempt_date: Option<DateTime<Utc>>
Date when the student opened the form to register their credits to the open university.
email: String
Email at the time of completing the course. Used to match the student to the data that they will fill to the open university and it will remain unchanged in the event of email change because changing this would break the matching.
grade: StudyRegistryGrade
The grade to be passed to the study registry. Uses the sisu format. See the struct documentation for details.
id: Uuid
ID of the completion.
user_id: Uuid
User id in courses.mooc.fi for received registered completions.
tier: Option<i32>
Tier of the completion. Currently always null. Historically used for example to distinguish between intermediate and advanced versions of the Building AI course.
Trait Implementations§
Source§impl Clone for StudyRegistryCompletion
impl Clone for StudyRegistryCompletion
Source§fn clone(&self) -> StudyRegistryCompletion
fn clone(&self) -> StudyRegistryCompletion
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'de> Deserialize<'de> for StudyRegistryCompletion
impl<'de> Deserialize<'de> for StudyRegistryCompletion
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 From<CourseModuleCompletion> for StudyRegistryCompletion
impl From<CourseModuleCompletion> for StudyRegistryCompletion
Source§fn from(completion: CourseModuleCompletion) -> Self
fn from(completion: CourseModuleCompletion) -> Self
Source§impl PartialEq for StudyRegistryCompletion
impl PartialEq for StudyRegistryCompletion
Source§impl Serialize for StudyRegistryCompletion
impl Serialize for StudyRegistryCompletion
impl StructuralPartialEq for StudyRegistryCompletion
Auto Trait Implementations§
impl Freeze for StudyRegistryCompletion
impl RefUnwindSafe for StudyRegistryCompletion
impl Send for StudyRegistryCompletion
impl Sync for StudyRegistryCompletion
impl Unpin for StudyRegistryCompletion
impl UnwindSafe for StudyRegistryCompletion
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<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 more