pub struct Page {Show 27 fields
pub id: Int,
pub path: String,
pub hash: String,
pub title: String,
pub description: String,
pub is_private: Boolean,
pub is_published: Boolean,
pub private_ns: Option<String>,
pub publish_start_date: Date,
pub publish_end_date: Date,
pub tags: Vec<Option<PageTag>>,
pub content: String,
pub toc: Option<String>,
pub render: Option<String>,
pub content_type: String,
pub created_at: Date,
pub updated_at: Date,
pub editor: String,
pub locale: String,
pub script_css: Option<String>,
pub script_js: Option<String>,
pub author_id: Int,
pub author_name: String,
pub author_email: String,
pub creator_id: Int,
pub creator_name: String,
pub creator_email: String,
}
Fields§
§id: Int
§path: String
§hash: String
§title: String
§description: String
§is_private: Boolean
§is_published: Boolean
§private_ns: Option<String>
§publish_start_date: Date
§publish_end_date: Date
§content: String
§toc: Option<String>
§render: Option<String>
§content_type: String
§created_at: Date
§updated_at: Date
§editor: String
§locale: String
§script_css: Option<String>
§script_js: Option<String>
§creator_id: Int
§creator_name: String
§creator_email: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Page
impl<'de> Deserialize<'de> for Page
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
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnwindSafe for Page
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