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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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§impl Serialize for UserCommentResponse
impl Serialize for UserCommentResponse
impl StructuralPartialEq for UserCommentResponse
Auto Trait Implementations§
impl Freeze for UserCommentResponse
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