pub struct ModEventCommentData {
pub comment: Option<String>,
pub sticky: Option<bool>,
}
Available on crate feature
namespace-toolsozone
only.Expand description
Add a comment to a subject. An empty comment will clear any previously set sticky comment.
Fields§
§comment: Option<String>
§sticky: Option<bool>
Make the comment persistent on the subject
Trait Implementations§
Source§impl Clone for ModEventCommentData
impl Clone for ModEventCommentData
Source§fn clone(&self) -> ModEventCommentData
fn clone(&self) -> ModEventCommentData
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 ModEventCommentData
impl Debug for ModEventCommentData
Source§impl<'de> Deserialize<'de> for ModEventCommentData
impl<'de> Deserialize<'de> for ModEventCommentData
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 ModEventCommentData
impl PartialEq for ModEventCommentData
Source§impl Serialize for ModEventCommentData
impl Serialize for ModEventCommentData
impl Eq for ModEventCommentData
impl StructuralPartialEq for ModEventCommentData
Auto Trait Implementations§
impl Freeze for ModEventCommentData
impl RefUnwindSafe for ModEventCommentData
impl Send for ModEventCommentData
impl Sync for ModEventCommentData
impl Unpin for ModEventCommentData
impl UnwindSafe for ModEventCommentData
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.