pub struct RemoveComment {
pub comment_id: CommentId,
pub removed: bool,
pub reason: Option<String>,
}Expand description
Remove a comment (only doable by mods).
Fields§
§comment_id: CommentId§removed: bool§reason: Option<String>Trait Implementations§
Source§impl Clone for RemoveComment
impl Clone for RemoveComment
Source§fn clone(&self) -> RemoveComment
fn clone(&self) -> RemoveComment
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 RemoveComment
impl Debug for RemoveComment
Source§impl Default for RemoveComment
impl Default for RemoveComment
Source§fn default() -> RemoveComment
fn default() -> RemoveComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RemoveComment
impl<'de> Deserialize<'de> for RemoveComment
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 Hash for RemoveComment
impl Hash for RemoveComment
Source§impl PartialEq for RemoveComment
impl PartialEq for RemoveComment
Source§impl Serialize for RemoveComment
impl Serialize for RemoveComment
impl Eq for RemoveComment
impl StructuralPartialEq for RemoveComment
Auto Trait Implementations§
impl Freeze for RemoveComment
impl RefUnwindSafe for RemoveComment
impl Send for RemoveComment
impl Sync for RemoveComment
impl Unpin for RemoveComment
impl UnwindSafe for RemoveComment
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