pub struct PostsListResponse {
pub posts: Option<Vec<Post>>,
pub pagination: Option<Box<Pagination>>,
}Fields§
§posts: Option<Vec<Post>>§pagination: Option<Box<Pagination>>Implementations§
Source§impl PostsListResponse
impl PostsListResponse
pub fn new() -> PostsListResponse
Trait Implementations§
Source§impl Clone for PostsListResponse
impl Clone for PostsListResponse
Source§fn clone(&self) -> PostsListResponse
fn clone(&self) -> PostsListResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PostsListResponse
impl Debug for PostsListResponse
Source§impl Default for PostsListResponse
impl Default for PostsListResponse
Source§fn default() -> PostsListResponse
fn default() -> PostsListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostsListResponse
impl<'de> Deserialize<'de> for PostsListResponse
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
Source§impl PartialEq for PostsListResponse
impl PartialEq for PostsListResponse
Source§impl Serialize for PostsListResponse
impl Serialize for PostsListResponse
impl StructuralPartialEq for PostsListResponse
Auto Trait Implementations§
impl Freeze for PostsListResponse
impl RefUnwindSafe for PostsListResponse
impl Send for PostsListResponse
impl Sync for PostsListResponse
impl Unpin for PostsListResponse
impl UnsafeUnpin for PostsListResponse
impl UnwindSafe for PostsListResponse
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