pub struct ReactionsNotifySettings {
pub messages_notify_from: Option<ReactionNotificationsFrom>,
pub stories_notify_from: Option<ReactionNotificationsFrom>,
pub sound: NotificationSound,
pub show_previews: bool,
}Expand description
Generated from:
reactionsNotifySettings#56e34970 flags:# messages_notify_from:flags.0?ReactionNotificationsFrom stories_notify_from:flags.1?ReactionNotificationsFrom sound:NotificationSound show_previews:Bool = ReactionsNotifySettingsFields§
§messages_notify_from: Option<ReactionNotificationsFrom>§stories_notify_from: Option<ReactionNotificationsFrom>§sound: NotificationSound§show_previews: boolTrait Implementations§
Source§impl Clone for ReactionsNotifySettings
impl Clone for ReactionsNotifySettings
Source§fn clone(&self) -> ReactionsNotifySettings
fn clone(&self) -> ReactionsNotifySettings
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 ReactionsNotifySettings
impl Debug for ReactionsNotifySettings
Source§impl Deserializable for ReactionsNotifySettings
impl Deserializable for ReactionsNotifySettings
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ReactionsNotifySettings> for ReactionsNotifySettings
impl From<ReactionsNotifySettings> for ReactionsNotifySettings
Source§fn from(x: ReactionsNotifySettings) -> Self
fn from(x: ReactionsNotifySettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ReactionsNotifySettings
impl Identifiable for ReactionsNotifySettings
Source§const CONSTRUCTOR_ID: u32 = 0x56e34970
const CONSTRUCTOR_ID: u32 = 0x56e34970
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ReactionsNotifySettings
impl PartialEq for ReactionsNotifySettings
Source§impl TryFrom<ReactionsNotifySettings> for ReactionsNotifySettings
impl TryFrom<ReactionsNotifySettings> for ReactionsNotifySettings
Source§type Error = ReactionsNotifySettings
type Error = ReactionsNotifySettings
The type returned in the event of a conversion error.
impl StructuralPartialEq for ReactionsNotifySettings
Auto Trait Implementations§
impl Freeze for ReactionsNotifySettings
impl RefUnwindSafe for ReactionsNotifySettings
impl Send for ReactionsNotifySettings
impl Sync for ReactionsNotifySettings
impl Unpin for ReactionsNotifySettings
impl UnsafeUnpin for ReactionsNotifySettings
impl UnwindSafe for ReactionsNotifySettings
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