Struct atrium_api::com::atproto::admin::defs::ModEventTag
source · pub struct ModEventTag {
pub add: Vec<String>,
pub comment: Option<String>,
pub remove: Vec<String>,
}
Expand description
Add/Remove a tag on a subject
Fields§
§add: Vec<String>
Tags to be added to the subject. If already exists, won’t be duplicated.
comment: Option<String>
Additional comment about added/removed tags.
remove: Vec<String>
Tags to be removed to the subject. Ignores a tag If it doesn’t exist, won’t be duplicated.
Trait Implementations§
source§impl Clone for ModEventTag
impl Clone for ModEventTag
source§fn clone(&self) -> ModEventTag
fn clone(&self) -> ModEventTag
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 ModEventTag
impl Debug for ModEventTag
source§impl<'de> Deserialize<'de> for ModEventTag
impl<'de> Deserialize<'de> for ModEventTag
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 ModEventTag
impl PartialEq for ModEventTag
source§fn eq(&self, other: &ModEventTag) -> bool
fn eq(&self, other: &ModEventTag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModEventTag
impl Serialize for ModEventTag
impl Eq for ModEventTag
impl StructuralPartialEq for ModEventTag
Auto Trait Implementations§
impl RefUnwindSafe for ModEventTag
impl Send for ModEventTag
impl Sync for ModEventTag
impl Unpin for ModEventTag
impl UnwindSafe for ModEventTag
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