pub struct Articles {
pub title: String,
pub author: String,
pub digest: String,
pub content: String,
pub content_source_url: String,
pub thumb_media_id: String,
pub show_cover_pic: i8,
pub need_open_comment: Option<i8>,
pub only_fans_can_comment: Option<i8>,
pub url: Option<String>,
pub is_deleted: Option<bool>,
}
Fields§
§title: String
§digest: String
§content: String
§content_source_url: String
§thumb_media_id: String
§show_cover_pic: i8
是否显示封面,0为false,即不显示,1为true,即显示
need_open_comment: Option<i8>
§only_fans_can_comment: Option<i8>
§url: Option<String>
§is_deleted: Option<bool>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Articles
impl<'de> Deserialize<'de> for Articles
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 Articles
impl RefUnwindSafe for Articles
impl Send for Articles
impl Sync for Articles
impl Unpin for Articles
impl UnwindSafe for Articles
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