pub struct Article {
pub id: String,
pub title: String,
pub sub_title: String,
pub summary: String,
pub show_date: String,
pub create_date: String,
pub content: String,
pub keywords: String,
pub page_name: String,
}Expand description
Article information.
Fields§
§id: StringArticle ID.
title: StringArticle title.
sub_title: StringArticle subtitle.
summary: StringArticle summary.
show_date: StringDisplay date.
create_date: StringCreation date.
content: StringArticle content.
keywords: StringKeywords.
page_name: StringPage name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Article
impl<'de> Deserialize<'de> for Article
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 Article
impl RefUnwindSafe for Article
impl Send for Article
impl Sync for Article
impl Unpin for Article
impl UnwindSafe for Article
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