[][src]Enum grammers_tl_types::enums::PrivacyKey

pub enum PrivacyKey {
    StatusTimestamp(PrivacyKeyStatusTimestamp),
    ChatInvite(PrivacyKeyChatInvite),
    PhoneCall(PrivacyKeyPhoneCall),
    PhoneP2P(PrivacyKeyPhoneP2P),
    Forwards(PrivacyKeyForwards),
    ProfilePhoto(PrivacyKeyProfilePhoto),
    PhoneNumber(PrivacyKeyPhoneNumber),
    AddedByPhone(PrivacyKeyAddedByPhone),
}

Variants

StatusTimestamp(PrivacyKeyStatusTimestamp)

Trait Implementations

impl Clone for PrivacyKey[src]

impl Debug for PrivacyKey[src]

impl Deserializable for PrivacyKey[src]

impl From<PrivacyKeyAddedByPhone> for PrivacyKey[src]

impl From<PrivacyKeyChatInvite> for PrivacyKey[src]

impl From<PrivacyKeyForwards> for PrivacyKey[src]

impl From<PrivacyKeyPhoneCall> for PrivacyKey[src]

impl From<PrivacyKeyPhoneNumber> for PrivacyKey[src]

impl From<PrivacyKeyPhoneP2P> for PrivacyKey[src]

impl From<PrivacyKeyProfilePhoto> for PrivacyKey[src]

impl From<PrivacyKeyStatusTimestamp> for PrivacyKey[src]

impl PartialEq<PrivacyKey> for PrivacyKey[src]

impl Serializable for PrivacyKey[src]

impl StructuralPartialEq for PrivacyKey[src]

impl TryFrom<PrivacyKey> for PrivacyKeyAddedByPhone[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PrivacyKey> for PrivacyKeyChatInvite[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PrivacyKey> for PrivacyKeyForwards[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PrivacyKey> for PrivacyKeyPhoneCall[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PrivacyKey> for PrivacyKeyPhoneNumber[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PrivacyKey> for PrivacyKeyPhoneP2P[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PrivacyKey> for PrivacyKeyProfilePhoto[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PrivacyKey> for PrivacyKeyStatusTimestamp[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.