pub struct PageDocument {
pub slug: PageSlug,
pub title: Option<String>,
pub body: Option<String>,
pub visibility: Option<Visibility>,
pub raw: Value,
}Fields§
§slug: PageSlug§title: Option<String>§body: Option<String>§visibility: Option<Visibility>§raw: ValueTrait Implementations§
Source§impl Clone for PageDocument
impl Clone for PageDocument
Source§fn clone(&self) -> PageDocument
fn clone(&self) -> PageDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PageDocument
impl Debug for PageDocument
Source§impl<'de> Deserialize<'de> for PageDocument
impl<'de> Deserialize<'de> for PageDocument
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 PageDocument
impl PartialEq for PageDocument
Source§fn eq(&self, other: &PageDocument) -> bool
fn eq(&self, other: &PageDocument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PageDocument
impl Serialize for PageDocument
impl StructuralPartialEq for PageDocument
Auto Trait Implementations§
impl Freeze for PageDocument
impl RefUnwindSafe for PageDocument
impl Send for PageDocument
impl Sync for PageDocument
impl Unpin for PageDocument
impl UnsafeUnpin for PageDocument
impl UnwindSafe for PageDocument
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