pub struct PushMessageContentChatSetTheme {
pub theme_name: String,
}
Expand description
A chat theme was edited
Fields§
§theme_name: String
If non-empty, name of a new theme, set for the chat. Otherwise, the chat theme was reset to the default one
Trait Implementations§
Source§impl Clone for PushMessageContentChatSetTheme
impl Clone for PushMessageContentChatSetTheme
Source§fn clone(&self) -> PushMessageContentChatSetTheme
fn clone(&self) -> PushMessageContentChatSetTheme
Returns a copy 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 Default for PushMessageContentChatSetTheme
impl Default for PushMessageContentChatSetTheme
Source§fn default() -> PushMessageContentChatSetTheme
fn default() -> PushMessageContentChatSetTheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushMessageContentChatSetTheme
impl<'de> Deserialize<'de> for PushMessageContentChatSetTheme
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
Source§impl PartialEq for PushMessageContentChatSetTheme
impl PartialEq for PushMessageContentChatSetTheme
Source§fn eq(&self, other: &PushMessageContentChatSetTheme) -> bool
fn eq(&self, other: &PushMessageContentChatSetTheme) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PushMessageContentChatSetTheme
Auto Trait Implementations§
impl Freeze for PushMessageContentChatSetTheme
impl RefUnwindSafe for PushMessageContentChatSetTheme
impl Send for PushMessageContentChatSetTheme
impl Sync for PushMessageContentChatSetTheme
impl Unpin for PushMessageContentChatSetTheme
impl UnwindSafe for PushMessageContentChatSetTheme
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