pub enum ContentReportSeverity {
Critical,
High,
Normal,
Other(String),
}Expand description
ContentReportSeverity enumeration.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ContentReportSeverity
impl Clone for ContentReportSeverity
Source§fn clone(&self) -> ContentReportSeverity
fn clone(&self) -> ContentReportSeverity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContentReportSeverity
impl Debug for ContentReportSeverity
Source§impl Default for ContentReportSeverity
impl Default for ContentReportSeverity
Source§fn default() -> ContentReportSeverity
fn default() -> ContentReportSeverity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentReportSeverity
impl<'de> Deserialize<'de> for ContentReportSeverity
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 ContentReportSeverity
impl Display for ContentReportSeverity
impl Eq for ContentReportSeverity
Source§impl From<&str> for ContentReportSeverity
impl From<&str> for ContentReportSeverity
Source§impl Hash for ContentReportSeverity
impl Hash for ContentReportSeverity
Source§impl PartialEq for ContentReportSeverity
impl PartialEq for ContentReportSeverity
Source§impl Serialize for ContentReportSeverity
impl Serialize for ContentReportSeverity
impl StructuralPartialEq for ContentReportSeverity
Auto Trait Implementations§
impl Freeze for ContentReportSeverity
impl RefUnwindSafe for ContentReportSeverity
impl Send for ContentReportSeverity
impl Sync for ContentReportSeverity
impl Unpin for ContentReportSeverity
impl UnsafeUnpin for ContentReportSeverity
impl UnwindSafe for ContentReportSeverity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.