[][src]Enum grammers_tl_types::enums::ReportReason

pub enum ReportReason {
    InputReportReasonSpam(InputReportReasonSpam),
    InputReportReasonViolence(InputReportReasonViolence),
    InputReportReasonPornography(InputReportReasonPornography),
    InputReportReasonChildAbuse(InputReportReasonChildAbuse),
    InputReportReasonOther(InputReportReasonOther),
    InputReportReasonCopyright(InputReportReasonCopyright),
    InputReportReasonGeoIrrelevant(InputReportReasonGeoIrrelevant),
}

Variants

InputReportReasonSpam(InputReportReasonSpam)
InputReportReasonViolence(InputReportReasonViolence)
InputReportReasonPornography(InputReportReasonPornography)
InputReportReasonChildAbuse(InputReportReasonChildAbuse)
InputReportReasonOther(InputReportReasonOther)
InputReportReasonCopyright(InputReportReasonCopyright)
InputReportReasonGeoIrrelevant(InputReportReasonGeoIrrelevant)

Trait Implementations

impl Clone for ReportReason[src]

impl Debug for ReportReason[src]

impl Deserializable for ReportReason[src]

impl From<InputReportReasonChildAbuse> for ReportReason[src]

impl From<InputReportReasonCopyright> for ReportReason[src]

impl From<InputReportReasonGeoIrrelevant> for ReportReason[src]

impl From<InputReportReasonOther> for ReportReason[src]

impl From<InputReportReasonPornography> for ReportReason[src]

impl From<InputReportReasonSpam> for ReportReason[src]

impl From<InputReportReasonViolence> for ReportReason[src]

impl PartialEq<ReportReason> for ReportReason[src]

impl Serializable for ReportReason[src]

impl StructuralPartialEq for ReportReason[src]

impl TryFrom<ReportReason> for InputReportReasonChildAbuse[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<ReportReason> for InputReportReasonCopyright[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<ReportReason> for InputReportReasonGeoIrrelevant[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<ReportReason> for InputReportReasonOther[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<ReportReason> for InputReportReasonPornography[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<ReportReason> for InputReportReasonSpam[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<ReportReason> for InputReportReasonViolence[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.