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