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