pub enum ChatReportReason {
ChatReportReasonSpam(ChatReportReasonSpam),
ChatReportReasonViolence(ChatReportReasonViolence),
ChatReportReasonPornography(ChatReportReasonPornography),
ChatReportReasonCopyright(ChatReportReasonCopyright),
ChatReportReasonCustom(ChatReportReasonCustom),
}Expand description
Variants§
ChatReportReasonSpam(ChatReportReasonSpam)
ChatReportReasonViolence(ChatReportReasonViolence)
ChatReportReasonPornography(ChatReportReasonPornography)
ChatReportReasonCopyright(ChatReportReasonCopyright)
ChatReportReasonCustom(ChatReportReasonCustom)
Trait Implementations§
Source§impl Clone for ChatReportReason
impl Clone for ChatReportReason
Source§fn clone(&self) -> ChatReportReason
fn clone(&self) -> ChatReportReason
Returns a duplicate 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 ChatReportReason
impl Debug for ChatReportReason
Source§impl<'de> Deserialize<'de> for ChatReportReason
impl<'de> Deserialize<'de> for ChatReportReason
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
Auto Trait Implementations§
impl Freeze for ChatReportReason
impl RefUnwindSafe for ChatReportReason
impl Send for ChatReportReason
impl Sync for ChatReportReason
impl Unpin for ChatReportReason
impl UnwindSafe for ChatReportReason
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