Struct headless_lms_models::chapters::ChapterUpdate
source · pub struct ChapterUpdate {
pub name: String,
pub color: Option<String>,
pub front_page_id: Option<Uuid>,
pub deadline: Option<DateTime<Utc>>,
pub opens_at: Option<DateTime<Utc>>,
pub course_module_id: Option<Uuid>,
}
Fields§
§name: String
§color: Option<String>
§front_page_id: Option<Uuid>
§deadline: Option<DateTime<Utc>>
§opens_at: Option<DateTime<Utc>>
§course_module_id: Option<Uuid>
CHANGE TO NON NULL WHEN FRONTEND MODULE EDITING IMPLEMENTED
Trait Implementations§
source§impl Clone for ChapterUpdate
impl Clone for ChapterUpdate
source§fn clone(&self) -> ChapterUpdate
fn clone(&self) -> ChapterUpdate
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 ChapterUpdate
impl Debug for ChapterUpdate
source§impl<'de> Deserialize<'de> for ChapterUpdate
impl<'de> Deserialize<'de> for ChapterUpdate
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 ChapterUpdate
impl PartialEq for ChapterUpdate
source§fn eq(&self, other: &ChapterUpdate) -> bool
fn eq(&self, other: &ChapterUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ChapterUpdate
impl Serialize for ChapterUpdate
impl StructuralPartialEq for ChapterUpdate
Auto Trait Implementations§
impl RefUnwindSafe for ChapterUpdate
impl Send for ChapterUpdate
impl Sync for ChapterUpdate
impl Unpin for ChapterUpdate
impl UnwindSafe for ChapterUpdate
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