pub struct UpdateChatTheme {
pub chat_id: i64,
pub theme_name: String,
}
Expand description
The chat theme was changed
Fields§
§chat_id: i64
Chat identifier
theme_name: String
The new name of the chat theme; may be empty if theme was reset to default
Trait Implementations§
Source§impl Clone for UpdateChatTheme
impl Clone for UpdateChatTheme
Source§fn clone(&self) -> UpdateChatTheme
fn clone(&self) -> UpdateChatTheme
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 UpdateChatTheme
impl Debug for UpdateChatTheme
Source§impl Default for UpdateChatTheme
impl Default for UpdateChatTheme
Source§fn default() -> UpdateChatTheme
fn default() -> UpdateChatTheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateChatTheme
impl<'de> Deserialize<'de> for UpdateChatTheme
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 UpdateChatTheme
impl PartialEq for UpdateChatTheme
Source§impl Serialize for UpdateChatTheme
impl Serialize for UpdateChatTheme
impl StructuralPartialEq for UpdateChatTheme
Auto Trait Implementations§
impl Freeze for UpdateChatTheme
impl RefUnwindSafe for UpdateChatTheme
impl Send for UpdateChatTheme
impl Sync for UpdateChatTheme
impl Unpin for UpdateChatTheme
impl UnwindSafe for UpdateChatTheme
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