pub struct PurgeComment {
pub comment_id: CommentId,
pub reason: Option<String>,
}Expand description
Purges a comment from the database. This will delete all content attached to that comment.
Fields§
§comment_id: CommentId§reason: Option<String>Trait Implementations§
Source§impl Clone for PurgeComment
impl Clone for PurgeComment
Source§fn clone(&self) -> PurgeComment
fn clone(&self) -> PurgeComment
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 PurgeComment
impl Debug for PurgeComment
Source§impl<'de> Deserialize<'de> for PurgeComment
impl<'de> Deserialize<'de> for PurgeComment
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 PurgeComment
impl Hash for PurgeComment
Source§impl PartialEq for PurgeComment
impl PartialEq for PurgeComment
Source§impl Serialize for PurgeComment
impl Serialize for PurgeComment
impl Eq for PurgeComment
impl StructuralPartialEq for PurgeComment
Auto Trait Implementations§
impl Freeze for PurgeComment
impl RefUnwindSafe for PurgeComment
impl Send for PurgeComment
impl Sync for PurgeComment
impl Unpin for PurgeComment
impl UnwindSafe for PurgeComment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)