pub struct MessageChatSetTheme {
pub theme_name: String,
}
Expand description
A theme in the chat has been changed
Fields§
§theme_name: String
If non-empty, name of a new theme, set for the chat. Otherwise, chat theme was reset to the default one
Trait Implementations§
Source§impl Clone for MessageChatSetTheme
impl Clone for MessageChatSetTheme
Source§fn clone(&self) -> MessageChatSetTheme
fn clone(&self) -> MessageChatSetTheme
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 MessageChatSetTheme
impl Debug for MessageChatSetTheme
Source§impl Default for MessageChatSetTheme
impl Default for MessageChatSetTheme
Source§fn default() -> MessageChatSetTheme
fn default() -> MessageChatSetTheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageChatSetTheme
impl<'de> Deserialize<'de> for MessageChatSetTheme
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 MessageChatSetTheme
impl PartialEq for MessageChatSetTheme
Source§impl Serialize for MessageChatSetTheme
impl Serialize for MessageChatSetTheme
impl StructuralPartialEq for MessageChatSetTheme
Auto Trait Implementations§
impl Freeze for MessageChatSetTheme
impl RefUnwindSafe for MessageChatSetTheme
impl Send for MessageChatSetTheme
impl Sync for MessageChatSetTheme
impl Unpin for MessageChatSetTheme
impl UnwindSafe for MessageChatSetTheme
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