pub struct CommentListResponse {
pub comments: Vec<Comment>,
pub total: i32,
}Fields§
§comments: Vec<Comment>§total: i32Implementations§
Trait Implementations§
Source§impl Clone for CommentListResponse
impl Clone for CommentListResponse
Source§fn clone(&self) -> CommentListResponse
fn clone(&self) -> CommentListResponse
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 CommentListResponse
impl Debug for CommentListResponse
Source§impl Default for CommentListResponse
impl Default for CommentListResponse
Source§fn default() -> CommentListResponse
fn default() -> CommentListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentListResponse
impl<'de> Deserialize<'de> for CommentListResponse
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 CommentListResponse
impl PartialEq for CommentListResponse
Source§fn eq(&self, other: &CommentListResponse) -> bool
fn eq(&self, other: &CommentListResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommentListResponse
impl Serialize for CommentListResponse
impl StructuralPartialEq for CommentListResponse
Auto Trait Implementations§
impl Freeze for CommentListResponse
impl RefUnwindSafe for CommentListResponse
impl Send for CommentListResponse
impl Sync for CommentListResponse
impl Unpin for CommentListResponse
impl UnsafeUnpin for CommentListResponse
impl UnwindSafe for CommentListResponse
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