pub struct UpdateChatViewAsTopics {
pub chat_id: i64,
pub view_as_topics: bool,
}
Expand description
A chat default appearance has changed
Fields§
§chat_id: i64
Chat identifier
view_as_topics: bool
New value of view_as_topics
Trait Implementations§
Source§impl Clone for UpdateChatViewAsTopics
impl Clone for UpdateChatViewAsTopics
Source§fn clone(&self) -> UpdateChatViewAsTopics
fn clone(&self) -> UpdateChatViewAsTopics
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 UpdateChatViewAsTopics
impl Debug for UpdateChatViewAsTopics
Source§impl Default for UpdateChatViewAsTopics
impl Default for UpdateChatViewAsTopics
Source§fn default() -> UpdateChatViewAsTopics
fn default() -> UpdateChatViewAsTopics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateChatViewAsTopics
impl<'de> Deserialize<'de> for UpdateChatViewAsTopics
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 UpdateChatViewAsTopics
impl PartialEq for UpdateChatViewAsTopics
Source§impl Serialize for UpdateChatViewAsTopics
impl Serialize for UpdateChatViewAsTopics
impl StructuralPartialEq for UpdateChatViewAsTopics
Auto Trait Implementations§
impl Freeze for UpdateChatViewAsTopics
impl RefUnwindSafe for UpdateChatViewAsTopics
impl Send for UpdateChatViewAsTopics
impl Sync for UpdateChatViewAsTopics
impl Unpin for UpdateChatViewAsTopics
impl UnwindSafe for UpdateChatViewAsTopics
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