pub struct ListPostsResponse {
pub data: Vec<Post>,
pub total: i64,
pub page: i64,
pub limit: i64,
pub has_more: bool,
}Fields§
§data: Vec<Post>§total: i64§page: i64§limit: i64§has_more: boolTrait Implementations§
Source§impl Clone for ListPostsResponse
impl Clone for ListPostsResponse
Source§fn clone(&self) -> ListPostsResponse
fn clone(&self) -> ListPostsResponse
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 ListPostsResponse
impl Debug for ListPostsResponse
Source§impl Default for ListPostsResponse
impl Default for ListPostsResponse
Source§fn default() -> ListPostsResponse
fn default() -> ListPostsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListPostsResponse
impl<'de> Deserialize<'de> for ListPostsResponse
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 ListPostsResponse
impl RefUnwindSafe for ListPostsResponse
impl Send for ListPostsResponse
impl Sync for ListPostsResponse
impl Unpin for ListPostsResponse
impl UnsafeUnpin for ListPostsResponse
impl UnwindSafe for ListPostsResponse
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