Struct atrium_api::com::atproto::admin::defs::ModEventMute
source · pub struct ModEventMute {
pub comment: Option<String>,
pub duration_in_hours: i64,
}Expand description
Mute incoming reports on a subject
Fields§
§comment: Option<String>§duration_in_hours: i64Indicates how long the subject should remain muted.
Trait Implementations§
source§impl Clone for ModEventMute
impl Clone for ModEventMute
source§fn clone(&self) -> ModEventMute
fn clone(&self) -> ModEventMute
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 ModEventMute
impl Debug for ModEventMute
source§impl<'de> Deserialize<'de> for ModEventMute
impl<'de> Deserialize<'de> for ModEventMute
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 ModEventMute
impl PartialEq for ModEventMute
source§fn eq(&self, other: &ModEventMute) -> bool
fn eq(&self, other: &ModEventMute) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ModEventMute
impl Serialize for ModEventMute
impl Eq for ModEventMute
impl StructuralPartialEq for ModEventMute
Auto Trait Implementations§
impl RefUnwindSafe for ModEventMute
impl Send for ModEventMute
impl Sync for ModEventMute
impl Unpin for ModEventMute
impl UnwindSafe for ModEventMute
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