Struct headless_lms_models::course_modules::NewModule
source · pub struct NewModule {
name: String,
order_number: i32,
chapters: Vec<Uuid>,
uh_course_code: Option<String>,
ects_credits: Option<f32>,
completion_policy: CompletionPolicy,
completion_registration_link_override: Option<String>,
enable_registering_completion_to_uh_open_university: bool,
}
Fields§
§name: String
§order_number: i32
§chapters: Vec<Uuid>
§uh_course_code: Option<String>
§ects_credits: Option<f32>
§completion_policy: CompletionPolicy
§completion_registration_link_override: Option<String>
§enable_registering_completion_to_uh_open_university: bool
Trait Implementations§
source§impl<'de> Deserialize<'de> for NewModule
impl<'de> Deserialize<'de> for NewModule
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 NewModule
impl PartialEq for NewModule
impl StructuralPartialEq for NewModule
Auto Trait Implementations§
impl RefUnwindSafe for NewModule
impl Send for NewModule
impl Sync for NewModule
impl Unpin for NewModule
impl UnwindSafe for NewModule
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