[][src]Enum rtdlib::types::NotificationSettingsScope

pub enum NotificationSettingsScope {
    ChannelChats(NotificationSettingsScopeChannelChats),
    GroupChats(NotificationSettingsScopeGroupChats),
    PrivateChats(NotificationSettingsScopePrivateChats),
    // some variants omitted
}

Describes the types of chats to which notification settings are applied

Variants

Notification settings applied to all channels when the corresponding chat setting has a default value

Notification settings applied to all basic groups and supergroups when the corresponding chat setting has a default value

Notification settings applied to all private and secret chats when the corresponding chat setting has a default value

Implementations

impl NotificationSettingsScope[src]

Trait Implementations

impl AsRef<NotificationSettingsScope> for NotificationSettingsScope[src]

impl Clone for NotificationSettingsScope[src]

impl Debug for NotificationSettingsScope[src]

impl Default for NotificationSettingsScope[src]

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

impl RObject for NotificationSettingsScope[src]

impl Serialize for NotificationSettingsScope[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.