pub struct ChapterPagesWithExercises {
pub id: Uuid,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub name: String,
pub course_id: Uuid,
pub deleted_at: Option<DateTime<Utc>>,
pub chapter_number: i32,
pub pages: Vec<PageWithExercises>,
}
Fields§
§id: Uuid
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§name: String
§course_id: Uuid
§deleted_at: Option<DateTime<Utc>>
§chapter_number: i32
§pages: Vec<PageWithExercises>
Trait Implementations§
source§impl Clone for ChapterPagesWithExercises
impl Clone for ChapterPagesWithExercises
source§fn clone(&self) -> ChapterPagesWithExercises
fn clone(&self) -> ChapterPagesWithExercises
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 ChapterPagesWithExercises
impl Debug for ChapterPagesWithExercises
source§impl<'de> Deserialize<'de> for ChapterPagesWithExercises
impl<'de> Deserialize<'de> for ChapterPagesWithExercises
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 ChapterPagesWithExercises
impl PartialEq for ChapterPagesWithExercises
source§fn eq(&self, other: &ChapterPagesWithExercises) -> bool
fn eq(&self, other: &ChapterPagesWithExercises) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChapterPagesWithExercises
Auto Trait Implementations§
impl RefUnwindSafe for ChapterPagesWithExercises
impl Send for ChapterPagesWithExercises
impl Sync for ChapterPagesWithExercises
impl Unpin for ChapterPagesWithExercises
impl UnwindSafe for ChapterPagesWithExercises
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