Struct headless_lms_models::courses::CourseStructure
source · pub struct CourseStructure {
pub course: Course,
pub pages: Vec<Page>,
pub chapters: Vec<Chapter>,
pub modules: Vec<CourseModule>,
}
Fields§
§course: Course
§pages: Vec<Page>
§chapters: Vec<Chapter>
§modules: Vec<CourseModule>
Trait Implementations§
source§impl Clone for CourseStructure
impl Clone for CourseStructure
source§fn clone(&self) -> CourseStructure
fn clone(&self) -> CourseStructure
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 CourseStructure
impl Debug for CourseStructure
source§impl<'de> Deserialize<'de> for CourseStructure
impl<'de> Deserialize<'de> for CourseStructure
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 CourseStructure
impl PartialEq for CourseStructure
source§fn eq(&self, other: &CourseStructure) -> bool
fn eq(&self, other: &CourseStructure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CourseStructure
impl Serialize for CourseStructure
impl StructuralPartialEq for CourseStructure
Auto Trait Implementations§
impl RefUnwindSafe for CourseStructure
impl Send for CourseStructure
impl Sync for CourseStructure
impl Unpin for CourseStructure
impl UnwindSafe for CourseStructure
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