Enum rtdlib::types::ChatReportReason [−][src]
pub enum ChatReportReason {
ChildAbuse(ChatReportReasonChildAbuse),
Copyright(ChatReportReasonCopyright),
Custom(ChatReportReasonCustom),
Pornography(ChatReportReasonPornography),
Spam(ChatReportReasonSpam),
UnrelatedLocation(ChatReportReasonUnrelatedLocation),
Violence(ChatReportReasonViolence),
// some variants omitted
}
Expand description
Describes the reason why a chat is reported
Variants
The chat has child abuse related content
Tuple Fields of ChildAbuse
The chat contains copyrighted content
Tuple Fields of Copyright
A custom reason provided by the user
Tuple Fields of Custom
The chat contains pornographic messages
Tuple Fields of Pornography
The chat contains spam messages
Tuple Fields of Spam
The location-based chat is unrelated to its stated location
The chat promotes violence
Tuple Fields of Violence
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<ChatReportReason, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ChatReportReason, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ChatReportReason
impl Send for ChatReportReason
impl Sync for ChatReportReason
impl Unpin for ChatReportReason
impl UnwindSafe for ChatReportReason
Blanket Implementations
Mutably borrows from an owned value. Read more