pub struct PostList {
pub order: Option<Vec<String>>,
pub posts: Option<HashMap<String, Post>>,
pub next_post_id: Option<String>,
pub prev_post_id: Option<String>,
pub has_next: Option<bool>,
}Fields§
§order: Option<Vec<String>>§posts: Option<HashMap<String, Post>>§next_post_id: Option<String>The ID of next post. Not omitted when empty or not relevant.
prev_post_id: Option<String>The ID of previous post. Not omitted when empty or not relevant.
has_next: Option<bool>Whether there are more items after this page.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PostList
impl<'de> Deserialize<'de> for PostList
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
impl StructuralPartialEq for PostList
Auto Trait Implementations§
impl Freeze for PostList
impl RefUnwindSafe for PostList
impl Send for PostList
impl Sync for PostList
impl Unpin for PostList
impl UnsafeUnpin for PostList
impl UnwindSafe for PostList
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