pub struct GetCommentsResponse {
pub data: Vec<Comment>,
pub meta: Box<UtilsMetaResponse>,
}Fields§
§data: Vec<Comment>§meta: Box<UtilsMetaResponse>Implementations§
Source§impl GetCommentsResponse
impl GetCommentsResponse
Sourcepub fn builder() -> GetCommentsResponseBuilder
pub fn builder() -> GetCommentsResponseBuilder
Create an instance of GetCommentsResponse using the builder syntax
Source§impl GetCommentsResponse
impl GetCommentsResponse
pub fn new(data: Vec<Comment>, meta: UtilsMetaResponse) -> GetCommentsResponse
Trait Implementations§
Source§impl Clone for GetCommentsResponse
impl Clone for GetCommentsResponse
Source§fn clone(&self) -> GetCommentsResponse
fn clone(&self) -> GetCommentsResponse
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 GetCommentsResponse
impl Debug for GetCommentsResponse
Source§impl Default for GetCommentsResponse
impl Default for GetCommentsResponse
Source§fn default() -> GetCommentsResponse
fn default() -> GetCommentsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetCommentsResponse
impl<'de> Deserialize<'de> for GetCommentsResponse
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 GetCommentsResponse
impl PartialEq for GetCommentsResponse
Source§impl Serialize for GetCommentsResponse
impl Serialize for GetCommentsResponse
impl StructuralPartialEq for GetCommentsResponse
Auto Trait Implementations§
impl Freeze for GetCommentsResponse
impl RefUnwindSafe for GetCommentsResponse
impl Send for GetCommentsResponse
impl Sync for GetCommentsResponse
impl Unpin for GetCommentsResponse
impl UnwindSafe for GetCommentsResponse
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