Struct headless_lms_models::pages::PageMetadata
source · pub struct PageMetadata {
pub page_id: Uuid,
pub order_number: i32,
pub chapter_id: Option<Uuid>,
pub chapter_number: Option<i32>,
pub course_id: Option<Uuid>,
pub exam_id: Option<Uuid>,
}
Fields§
§page_id: Uuid
§order_number: i32
§chapter_id: Option<Uuid>
§chapter_number: Option<i32>
§course_id: Option<Uuid>
§exam_id: Option<Uuid>
Trait Implementations§
source§impl Clone for PageMetadata
impl Clone for PageMetadata
source§fn clone(&self) -> PageMetadata
fn clone(&self) -> PageMetadata
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 PageMetadata
impl Debug for PageMetadata
source§impl<'de> Deserialize<'de> for PageMetadata
impl<'de> Deserialize<'de> for PageMetadata
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<'a, R: Row> FromRow<'a, R> for PageMetadata
impl<'a, R: Row> FromRow<'a, R> for PageMetadata
source§impl PartialEq for PageMetadata
impl PartialEq for PageMetadata
source§fn eq(&self, other: &PageMetadata) -> bool
fn eq(&self, other: &PageMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PageMetadata
impl Serialize for PageMetadata
impl StructuralPartialEq for PageMetadata
Auto Trait Implementations§
impl RefUnwindSafe for PageMetadata
impl Send for PageMetadata
impl Sync for PageMetadata
impl Unpin for PageMetadata
impl UnwindSafe for PageMetadata
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