Enum rtdlib::types::UserPrivacySetting[][src]

pub enum UserPrivacySetting {
    AllowCalls(UserPrivacySettingAllowCalls),
    AllowChatInvites(UserPrivacySettingAllowChatInvites),
    AllowPeerToPeerCalls(UserPrivacySettingAllowPeerToPeerCalls),
    ShowStatus(UserPrivacySettingShowStatus),
    // some variants omitted
}

Describes available user privacy settings

Variants

A privacy setting for managing whether the user can be called

A privacy setting for managing whether the user can be invited to chats

A privacy setting for managing whether peer-to-peer connections can be used for calls

A privacy setting for managing whether the user's online status is visible

Implementations

impl UserPrivacySetting[src]

Trait Implementations

impl AsRef<UserPrivacySetting> for UserPrivacySetting[src]

impl Clone for UserPrivacySetting[src]

impl Debug for UserPrivacySetting[src]

impl Default for UserPrivacySetting[src]

impl<'de> Deserialize<'de> for UserPrivacySetting[src]

impl RObject for UserPrivacySetting[src]

impl Serialize for UserPrivacySetting[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.