pub struct ModEventComment {
pub comment: Option<String>,
pub sticky: Option<bool>,
}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>Trait Implementations§
Source§impl Clone for ModEventComment
impl Clone for ModEventComment
Source§fn clone(&self) -> ModEventComment
fn clone(&self) -> ModEventComment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModEventComment
impl Debug for ModEventComment
Source§impl<'de> Deserialize<'de> for ModEventComment
impl<'de> Deserialize<'de> for ModEventComment
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 ModEventComment
impl RefUnwindSafe for ModEventComment
impl Send for ModEventComment
impl Sync for ModEventComment
impl Unpin for ModEventComment
impl UnsafeUnpin for ModEventComment
impl UnwindSafe for ModEventComment
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