pub struct ArticleList {
pub list: Vec<ArticleDetail>,
pub pagination: Pagination,
pub tag: Option<ArticleTag>,
}Expand description
文章列表
Fields§
§list: Vec<ArticleDetail>文章列表
pagination: Pagination分页信息
tag: Option<ArticleTag>标签信息,仅查询标签下文章列表有效
Implementations§
Source§impl ArticleList
impl ArticleList
pub fn from_value(data: &Value) -> Result<Self, Error>
Trait Implementations§
Source§impl Clone for ArticleList
impl Clone for ArticleList
Source§fn clone(&self) -> ArticleList
fn clone(&self) -> ArticleList
Returns a duplicate 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 ArticleList
impl Debug for ArticleList
Source§impl<'de> Deserialize<'de> for ArticleList
impl<'de> Deserialize<'de> for ArticleList
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 ArticleList
impl RefUnwindSafe for ArticleList
impl Send for ArticleList
impl Sync for ArticleList
impl Unpin for ArticleList
impl UnsafeUnpin for ArticleList
impl UnwindSafe for ArticleList
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