Struct atrium_api::com::atproto::admin::defs::ModEventComment
source · pub struct ModEventComment {
pub comment: String,
pub sticky: Option<bool>,
}
Expand description
Add a comment to a subject
Fields§
§comment: String
§sticky: Option<bool>
Make the comment persistent on the subject
Trait Implementations§
source§impl Clone for ModEventComment
impl Clone for ModEventComment
source§fn clone(&self) -> ModEventComment
fn clone(&self) -> ModEventComment
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 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
source§impl PartialEq for ModEventComment
impl PartialEq for ModEventComment
source§fn eq(&self, other: &ModEventComment) -> bool
fn eq(&self, other: &ModEventComment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModEventComment
impl Serialize for ModEventComment
impl Eq for ModEventComment
impl StructuralPartialEq for ModEventComment
Auto Trait Implementations§
impl RefUnwindSafe for ModEventComment
impl Send for ModEventComment
impl Sync for ModEventComment
impl Unpin 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