pub struct CreateCommentReport {
pub comment_id: CommentId,
pub reason: String,
}Expand description
Report a comment.
Fields§
§comment_id: CommentId§reason: StringTrait Implementations§
Source§impl Clone for CreateCommentReport
impl Clone for CreateCommentReport
Source§fn clone(&self) -> CreateCommentReport
fn clone(&self) -> CreateCommentReport
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 CreateCommentReport
impl Debug for CreateCommentReport
Source§impl Default for CreateCommentReport
impl Default for CreateCommentReport
Source§fn default() -> CreateCommentReport
fn default() -> CreateCommentReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCommentReport
impl<'de> Deserialize<'de> for CreateCommentReport
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 CreateCommentReport
impl RefUnwindSafe for CreateCommentReport
impl Send for CreateCommentReport
impl Sync for CreateCommentReport
impl Unpin for CreateCommentReport
impl UnwindSafe for CreateCommentReport
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