Struct headless_lms_models::exams::OrgExam
source · pub struct OrgExam {
pub id: Uuid,
pub name: String,
pub instructions: Value,
pub starts_at: Option<DateTime<Utc>>,
pub ends_at: Option<DateTime<Utc>>,
pub time_minutes: i32,
pub organization_id: Uuid,
pub minimum_points_treshold: i32,
}
Fields§
§id: Uuid
§name: String
§instructions: Value
§starts_at: Option<DateTime<Utc>>
§ends_at: Option<DateTime<Utc>>
§time_minutes: i32
§organization_id: Uuid
§minimum_points_treshold: i32
Trait Implementations§
source§impl<'de> Deserialize<'de> for OrgExam
impl<'de> Deserialize<'de> for OrgExam
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 PartialEq for OrgExam
impl PartialEq for OrgExam
impl StructuralPartialEq for OrgExam
Auto Trait Implementations§
impl RefUnwindSafe for OrgExam
impl Send for OrgExam
impl Sync for OrgExam
impl Unpin for OrgExam
impl UnwindSafe for OrgExam
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