Struct atrium_api::com::atproto::admin::defs::ModEventTakedown
source · pub struct ModEventTakedown {
pub comment: Option<String>,
pub duration_in_hours: Option<i64>,
}Expand description
Take down a subject permanently or temporarily
Fields§
§comment: Option<String>§duration_in_hours: Option<i64>Indicates how long the takedown should be in effect before automatically expiring.
Trait Implementations§
source§impl Clone for ModEventTakedown
impl Clone for ModEventTakedown
source§fn clone(&self) -> ModEventTakedown
fn clone(&self) -> ModEventTakedown
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 ModEventTakedown
impl Debug for ModEventTakedown
source§impl<'de> Deserialize<'de> for ModEventTakedown
impl<'de> Deserialize<'de> for ModEventTakedown
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 ModEventTakedown
impl PartialEq for ModEventTakedown
source§fn eq(&self, other: &ModEventTakedown) -> bool
fn eq(&self, other: &ModEventTakedown) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ModEventTakedown
impl Serialize for ModEventTakedown
impl Eq for ModEventTakedown
impl StructuralPartialEq for ModEventTakedown
Auto Trait Implementations§
impl RefUnwindSafe for ModEventTakedown
impl Send for ModEventTakedown
impl Sync for ModEventTakedown
impl Unpin for ModEventTakedown
impl UnwindSafe for ModEventTakedown
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