Enum rtdlib::types::ChatReportReason
source[−]pub enum ChatReportReason {
ChildAbuse(ChatReportReasonChildAbuse),
Copyright(ChatReportReasonCopyright),
Custom(ChatReportReasonCustom),
Fake(ChatReportReasonFake),
Pornography(ChatReportReasonPornography),
Spam(ChatReportReasonSpam),
UnrelatedLocation(ChatReportReasonUnrelatedLocation),
Violence(ChatReportReasonViolence),
// some variants omitted
}
Expand description
Describes the reason why a chat is reported
Variants
ChildAbuse(ChatReportReasonChildAbuse)
Tuple Fields
The chat has child abuse related content
Copyright(ChatReportReasonCopyright)
Tuple Fields
The chat contains copyrighted content
Custom(ChatReportReasonCustom)
Tuple Fields
A custom reason provided by the user
Fake(ChatReportReasonFake)
Tuple Fields
The chat represents a fake account
Pornography(ChatReportReasonPornography)
Tuple Fields
The chat contains pornographic messages
Spam(ChatReportReasonSpam)
Tuple Fields
The chat contains spam messages
UnrelatedLocation(ChatReportReasonUnrelatedLocation)
The location-based chat is unrelated to its stated location
Violence(ChatReportReasonViolence)
Tuple Fields
The chat promotes 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