pub struct UpdateChatBackground {
pub chat_id: i64,
pub background: Option<ChatBackground>,
}
Expand description
The chat background was changed
Fields§
§chat_id: i64
Chat identifier
background: Option<ChatBackground>
The new chat background; may be null if background was reset to default
Trait Implementations§
Source§impl Clone for UpdateChatBackground
impl Clone for UpdateChatBackground
Source§fn clone(&self) -> UpdateChatBackground
fn clone(&self) -> UpdateChatBackground
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 UpdateChatBackground
impl Debug for UpdateChatBackground
Source§impl<'de> Deserialize<'de> for UpdateChatBackground
impl<'de> Deserialize<'de> for UpdateChatBackground
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 UpdateChatBackground
impl PartialEq for UpdateChatBackground
Source§impl Serialize for UpdateChatBackground
impl Serialize for UpdateChatBackground
impl StructuralPartialEq for UpdateChatBackground
Auto Trait Implementations§
impl Freeze for UpdateChatBackground
impl RefUnwindSafe for UpdateChatBackground
impl Send for UpdateChatBackground
impl Sync for UpdateChatBackground
impl Unpin for UpdateChatBackground
impl UnwindSafe for UpdateChatBackground
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