pub struct PostList {
pub count: u64,
pub offset: u64,
pub posts: Box<[Post]>,
}
Expand description
A list of posts
Fields§
§count: u64
The # of posts.
This is the total # of posts, not the # in this list.
offset: u64
The current offset
posts: Box<[Post]>
The posts
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
Auto Trait Implementations§
impl RefUnwindSafe for PostList
impl Send for PostList
impl Sync for PostList
impl Unpin 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