pub enum ContentReportInputReason {
Harassment,
Hate,
Sexual,
Violence,
SelfHarm,
Illegal,
Spam,
Other,
Unknown(String),
}Expand description
Closed vocabulary — unknown values are rejected with 422. self_harm raises the resulting
operator notification to critical priority.
Variants§
Harassment
Hate
Sexual
Violence
SelfHarm
Illegal
Spam
Other
Unknown(String)
A value the API introduced after this SDK was generated.
Implementations§
Trait Implementations§
Source§impl Clone for ContentReportInputReason
impl Clone for ContentReportInputReason
Source§fn clone(&self) -> ContentReportInputReason
fn clone(&self) -> ContentReportInputReason
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 ContentReportInputReason
impl Debug for ContentReportInputReason
Source§impl Default for ContentReportInputReason
impl Default for ContentReportInputReason
Source§fn default() -> ContentReportInputReason
fn default() -> ContentReportInputReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentReportInputReason
impl<'de> Deserialize<'de> for ContentReportInputReason
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 ContentReportInputReason
impl Display for ContentReportInputReason
impl Eq for ContentReportInputReason
Source§impl From<&str> for ContentReportInputReason
impl From<&str> for ContentReportInputReason
Source§impl Hash for ContentReportInputReason
impl Hash for ContentReportInputReason
Source§impl PartialEq for ContentReportInputReason
impl PartialEq for ContentReportInputReason
Source§impl Serialize for ContentReportInputReason
impl Serialize for ContentReportInputReason
impl StructuralPartialEq for ContentReportInputReason
Auto Trait Implementations§
impl Freeze for ContentReportInputReason
impl RefUnwindSafe for ContentReportInputReason
impl Send for ContentReportInputReason
impl Sync for ContentReportInputReason
impl Unpin for ContentReportInputReason
impl UnsafeUnpin for ContentReportInputReason
impl UnwindSafe for ContentReportInputReason
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.