[][src]Enum grammers_tl_types::enums::InputPrivacyKey

pub enum InputPrivacyKey {
    StatusTimestamp(InputPrivacyKeyStatusTimestamp),
    ChatInvite(InputPrivacyKeyChatInvite),
    PhoneCall(InputPrivacyKeyPhoneCall),
    PhoneP2P(InputPrivacyKeyPhoneP2P),
    Forwards(InputPrivacyKeyForwards),
    ProfilePhoto(InputPrivacyKeyProfilePhoto),
    PhoneNumber(InputPrivacyKeyPhoneNumber),
    AddedByPhone(InputPrivacyKeyAddedByPhone),
}

Variants

Trait Implementations

impl Clone for InputPrivacyKey[src]

impl Debug for InputPrivacyKey[src]

impl Deserializable for InputPrivacyKey[src]

impl From<InputPrivacyKeyAddedByPhone> for InputPrivacyKey[src]

impl From<InputPrivacyKeyChatInvite> for InputPrivacyKey[src]

impl From<InputPrivacyKeyForwards> for InputPrivacyKey[src]

impl From<InputPrivacyKeyPhoneCall> for InputPrivacyKey[src]

impl From<InputPrivacyKeyPhoneNumber> for InputPrivacyKey[src]

impl From<InputPrivacyKeyPhoneP2P> for InputPrivacyKey[src]

impl From<InputPrivacyKeyProfilePhoto> for InputPrivacyKey[src]

impl From<InputPrivacyKeyStatusTimestamp> for InputPrivacyKey[src]

impl PartialEq<InputPrivacyKey> for InputPrivacyKey[src]

impl Serializable for InputPrivacyKey[src]

impl StructuralPartialEq for InputPrivacyKey[src]

impl TryFrom<InputPrivacyKey> for InputPrivacyKeyAddedByPhone[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputPrivacyKey> for InputPrivacyKeyChatInvite[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputPrivacyKey> for InputPrivacyKeyForwards[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputPrivacyKey> for InputPrivacyKeyPhoneCall[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputPrivacyKey> for InputPrivacyKeyPhoneNumber[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputPrivacyKey> for InputPrivacyKeyPhoneP2P[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputPrivacyKey> for InputPrivacyKeyProfilePhoto[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<InputPrivacyKey> for InputPrivacyKeyStatusTimestamp[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.