pub struct CourseModuleCompletion {Show 18 fields
pub id: Uuid,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub deleted_at: Option<DateTime<Utc>>,
pub course_id: Uuid,
pub course_instance_id: Uuid,
pub course_module_id: Uuid,
pub user_id: Uuid,
pub completion_date: DateTime<Utc>,
pub completion_registration_attempt_date: Option<DateTime<Utc>>,
pub completion_language: String,
pub eligible_for_ects: bool,
pub email: String,
pub grade: Option<i32>,
pub passed: bool,
pub prerequisite_modules_completed: bool,
pub completion_granter_user_id: Option<Uuid>,
pub needs_to_be_reviewed: bool,
}
Fields§
§id: Uuid
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§deleted_at: Option<DateTime<Utc>>
§course_id: Uuid
§course_instance_id: Uuid
§course_module_id: Uuid
§user_id: Uuid
§completion_date: DateTime<Utc>
§completion_registration_attempt_date: Option<DateTime<Utc>>
§completion_language: String
§eligible_for_ects: bool
§email: String
§grade: Option<i32>
§passed: bool
§prerequisite_modules_completed: bool
§completion_granter_user_id: Option<Uuid>
§needs_to_be_reviewed: bool
Trait Implementations§
Source§impl Clone for CourseModuleCompletion
impl Clone for CourseModuleCompletion
Source§fn clone(&self) -> CourseModuleCompletion
fn clone(&self) -> CourseModuleCompletion
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CourseModuleCompletion
impl Debug for CourseModuleCompletion
Source§impl<'de> Deserialize<'de> for CourseModuleCompletion
impl<'de> Deserialize<'de> for CourseModuleCompletion
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CourseModuleCompletion> for StudyRegistryCompletion
impl From<CourseModuleCompletion> for StudyRegistryCompletion
Source§fn from(completion: CourseModuleCompletion) -> Self
fn from(completion: CourseModuleCompletion) -> Self
Converts to this type from the input type.
Source§impl From<CourseModuleCompletion> for UserCourseModuleCompletion
impl From<CourseModuleCompletion> for UserCourseModuleCompletion
Source§fn from(course_module_completion: CourseModuleCompletion) -> Self
fn from(course_module_completion: CourseModuleCompletion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CourseModuleCompletion
impl PartialEq for CourseModuleCompletion
Source§impl Serialize for CourseModuleCompletion
impl Serialize for CourseModuleCompletion
impl Eq for CourseModuleCompletion
impl StructuralPartialEq for CourseModuleCompletion
Auto Trait Implementations§
impl Freeze for CourseModuleCompletion
impl RefUnwindSafe for CourseModuleCompletion
impl Send for CourseModuleCompletion
impl Sync for CourseModuleCompletion
impl Unpin for CourseModuleCompletion
impl UnwindSafe for CourseModuleCompletion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Compare self to
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>
Converts
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>
Converts
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