pub struct UpdateDialogNotificationsRequest {
pub chat_id: InlineId,
pub mode: Option<DialogNotificationMode>,
}Expand description
Request to set or clear a per-dialog notification override.
Fields§
§chat_id: InlineIdInline chat ID.
mode: Option<DialogNotificationMode>Explicit mode, or None to inherit the account-wide setting.
Trait Implementations§
Source§impl Clone for UpdateDialogNotificationsRequest
impl Clone for UpdateDialogNotificationsRequest
Source§fn clone(&self) -> UpdateDialogNotificationsRequest
fn clone(&self) -> UpdateDialogNotificationsRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for UpdateDialogNotificationsRequest
impl<'de> Deserialize<'de> for UpdateDialogNotificationsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpdateDialogNotificationsRequest
impl StructuralPartialEq for UpdateDialogNotificationsRequest
Auto Trait Implementations§
impl Freeze for UpdateDialogNotificationsRequest
impl RefUnwindSafe for UpdateDialogNotificationsRequest
impl Send for UpdateDialogNotificationsRequest
impl Sync for UpdateDialogNotificationsRequest
impl Unpin for UpdateDialogNotificationsRequest
impl UnsafeUnpin for UpdateDialogNotificationsRequest
impl UnwindSafe for UpdateDialogNotificationsRequest
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