pub enum ModlogActionType {
Show 16 variants
All,
ModRemovePost,
ModLockPost,
ModFeaturePost,
ModRemoveComment,
ModRemoveCommunity,
ModBanFromCommunity,
ModAddCommunity,
ModTransferCommunity,
ModAdd,
ModBan,
ModHideCommunity,
AdminPurgePerson,
AdminPurgeCommunity,
AdminPurgePost,
AdminPurgeComment,
}
Expand description
A list of possible types for the various modlog actions.
Variants§
All
ModRemovePost
ModLockPost
ModFeaturePost
ModRemoveComment
ModRemoveCommunity
ModBanFromCommunity
ModAddCommunity
ModTransferCommunity
ModAdd
ModBan
ModHideCommunity
AdminPurgePerson
AdminPurgeCommunity
AdminPurgePost
AdminPurgeComment
Trait Implementations§
source§impl Clone for ModlogActionType
impl Clone for ModlogActionType
source§fn clone(&self) -> ModlogActionType
fn clone(&self) -> ModlogActionType
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 ModlogActionType
impl Debug for ModlogActionType
source§impl<'de> Deserialize<'de> for ModlogActionType
impl<'de> Deserialize<'de> for ModlogActionType
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 Display for ModlogActionType
impl Display for ModlogActionType
source§impl FromStr for ModlogActionType
impl FromStr for ModlogActionType
source§impl PartialEq for ModlogActionType
impl PartialEq for ModlogActionType
source§fn eq(&self, other: &ModlogActionType) -> bool
fn eq(&self, other: &ModlogActionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ModlogActionType
impl Serialize for ModlogActionType
source§impl TryFrom<&str> for ModlogActionType
impl TryFrom<&str> for ModlogActionType
impl Copy for ModlogActionType
impl Eq for ModlogActionType
impl StructuralEq for ModlogActionType
impl StructuralPartialEq for ModlogActionType
Auto Trait Implementations§
impl RefUnwindSafe for ModlogActionType
impl Send for ModlogActionType
impl Sync for ModlogActionType
impl Unpin for ModlogActionType
impl UnwindSafe for ModlogActionType
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