pub struct UserCommentResponse {
pub user_comment: Option<Box<UserComment>>,
pub user_comments: Option<Vec<UserComment>>,
}
Expand description
UserCommentResponse : User Comment Response
Fields§
§user_comment: Option<Box<UserComment>>
§user_comments: Option<Vec<UserComment>>
Implementations§
source§impl UserCommentResponse
impl UserCommentResponse
sourcepub fn new() -> UserCommentResponse
pub fn new() -> UserCommentResponse
User Comment Response
Trait Implementations§
source§impl Clone for UserCommentResponse
impl Clone for UserCommentResponse
source§fn clone(&self) -> UserCommentResponse
fn clone(&self) -> UserCommentResponse
Returns a copy 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 UserCommentResponse
impl Debug for UserCommentResponse
source§impl Default for UserCommentResponse
impl Default for UserCommentResponse
source§fn default() -> UserCommentResponse
fn default() -> UserCommentResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserCommentResponse
impl<'de> Deserialize<'de> for UserCommentResponse
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 UserCommentResponse
impl PartialEq for UserCommentResponse
source§fn eq(&self, other: &UserCommentResponse) -> bool
fn eq(&self, other: &UserCommentResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserCommentResponse
impl Serialize for UserCommentResponse
impl StructuralPartialEq for UserCommentResponse
Auto Trait Implementations§
impl RefUnwindSafe for UserCommentResponse
impl Send for UserCommentResponse
impl Sync for UserCommentResponse
impl Unpin for UserCommentResponse
impl UnwindSafe for UserCommentResponse
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