pub struct InputPeerNotifySettings {
pub show_previews: Option<bool>,
pub silent: Option<bool>,
pub mute_until: Option<i32>,
pub sound: Option<NotificationSound>,
pub stories_muted: Option<bool>,
pub stories_hide_sender: Option<bool>,
pub stories_sound: Option<NotificationSound>,
}Expand description
Read inputPeerNotifySettings docs.
Generated from the following TL definition:
inputPeerNotifySettings#cacb6ae2 flags:# show_previews:flags.0?Bool silent:flags.1?Bool mute_until:flags.2?int sound:flags.3?NotificationSound stories_muted:flags.6?Bool stories_hide_sender:flags.7?Bool stories_sound:flags.8?NotificationSound = InputPeerNotifySettingsFields§
§show_previews: Option<bool>§silent: Option<bool>§mute_until: Option<i32>§sound: Option<NotificationSound>§stories_muted: Option<bool>§stories_hide_sender: Option<bool>§stories_sound: Option<NotificationSound>Trait Implementations§
Source§impl Clone for InputPeerNotifySettings
impl Clone for InputPeerNotifySettings
Source§fn clone(&self) -> InputPeerNotifySettings
fn clone(&self) -> InputPeerNotifySettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InputPeerNotifySettings
impl Debug for InputPeerNotifySettings
Source§impl From<InputPeerNotifySettings> for InputPeerNotifySettings
impl From<InputPeerNotifySettings> for InputPeerNotifySettings
Source§fn from(x: InputPeerNotifySettings) -> Self
fn from(x: InputPeerNotifySettings) -> Self
Converts to this type from the input type.
Source§impl From<InputPeerNotifySettings> for InputPeerNotifySettings
impl From<InputPeerNotifySettings> for InputPeerNotifySettings
Source§fn from(x: InputPeerNotifySettings) -> Self
fn from(x: InputPeerNotifySettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputPeerNotifySettings
impl Identifiable for InputPeerNotifySettings
Source§const CONSTRUCTOR_ID: u32 = 3402328802
const CONSTRUCTOR_ID: u32 = 3402328802
The unique identifier for the type.
Source§impl PartialEq for InputPeerNotifySettings
impl PartialEq for InputPeerNotifySettings
impl StructuralPartialEq for InputPeerNotifySettings
Auto Trait Implementations§
impl Freeze for InputPeerNotifySettings
impl RefUnwindSafe for InputPeerNotifySettings
impl Send for InputPeerNotifySettings
impl Sync for InputPeerNotifySettings
impl Unpin for InputPeerNotifySettings
impl UnsafeUnpin for InputPeerNotifySettings
impl UnwindSafe for InputPeerNotifySettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more