Struct rtdlib::types::ScopeNotificationSettings [−][src]
Contains information about notification settings for several chats
Implementations
impl ScopeNotificationSettings
[src]
pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>
[src]
pub fn builder() -> RTDScopeNotificationSettingsBuilder
[src]
pub fn mute_for(&self) -> i64
[src]
pub fn sound(&self) -> &String
[src]
pub fn show_preview(&self) -> bool
[src]
pub fn disable_pinned_message_notifications(&self) -> bool
[src]
pub fn disable_mention_notifications(&self) -> bool
[src]
Trait Implementations
impl AsRef<ScopeNotificationSettings> for ScopeNotificationSettings
[src]
fn as_ref(&self) -> &ScopeNotificationSettings
[src]
impl Clone for ScopeNotificationSettings
[src]
fn clone(&self) -> ScopeNotificationSettings
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScopeNotificationSettings
[src]
impl Default for ScopeNotificationSettings
[src]
impl<'de> Deserialize<'de> for ScopeNotificationSettings
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RObject for ScopeNotificationSettings
[src]
impl Serialize for ScopeNotificationSettings
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScopeNotificationSettings
[src]
impl Send for ScopeNotificationSettings
[src]
impl Sync for ScopeNotificationSettings
[src]
impl Unpin for ScopeNotificationSettings
[src]
impl UnwindSafe for ScopeNotificationSettings
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,