[−][src]Enum grammers_tl_types::enums::ReportReason
Variants
InputReportReasonSpam(InputReportReasonSpam)
InputReportReasonViolence(InputReportReasonViolence)
InputReportReasonPornography(InputReportReasonPornography)
InputReportReasonChildAbuse(InputReportReasonChildAbuse)
InputReportReasonOther(InputReportReasonOther)
InputReportReasonCopyright(InputReportReasonCopyright)
InputReportReasonGeoIrrelevant(InputReportReasonGeoIrrelevant)
Trait Implementations
impl Clone for ReportReason
[src]
fn clone(&self) -> ReportReason
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ReportReason
[src]
impl Deserializable for ReportReason
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<InputReportReasonChildAbuse> for ReportReason
[src]
fn from(x: InputReportReasonChildAbuse) -> Self
[src]
impl From<InputReportReasonCopyright> for ReportReason
[src]
fn from(x: InputReportReasonCopyright) -> Self
[src]
impl From<InputReportReasonGeoIrrelevant> for ReportReason
[src]
fn from(x: InputReportReasonGeoIrrelevant) -> Self
[src]
impl From<InputReportReasonOther> for ReportReason
[src]
fn from(x: InputReportReasonOther) -> Self
[src]
impl From<InputReportReasonPornography> for ReportReason
[src]
fn from(x: InputReportReasonPornography) -> Self
[src]
impl From<InputReportReasonSpam> for ReportReason
[src]
fn from(x: InputReportReasonSpam) -> Self
[src]
impl From<InputReportReasonViolence> for ReportReason
[src]
fn from(x: InputReportReasonViolence) -> Self
[src]
impl PartialEq<ReportReason> for ReportReason
[src]
fn eq(&self, other: &ReportReason) -> bool
[src]
fn ne(&self, other: &ReportReason) -> bool
[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.
fn try_from(x: ReportReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<ReportReason> for InputReportReasonCopyright
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: ReportReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<ReportReason> for InputReportReasonGeoIrrelevant
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: ReportReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<ReportReason> for InputReportReasonOther
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: ReportReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<ReportReason> for InputReportReasonPornography
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: ReportReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<ReportReason> for InputReportReasonSpam
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: ReportReason) -> Result<Self, Self::Error>
[src]
impl TryFrom<ReportReason> for InputReportReasonViolence
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: ReportReason) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReportReason
impl Send for ReportReason
impl Sync for ReportReason
impl Unpin for ReportReason
impl UnwindSafe for ReportReason
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,