pub struct UpdateChatFolders {
pub chat_folders: Vec<ChatFolderInfo>,
pub main_chat_list_position: i32,
pub are_tags_enabled: bool,
}
Expand description
The list of chat folders or a chat folder has changed
Fields§
§chat_folders: Vec<ChatFolderInfo>
The new list of chat folders
main_chat_list_position: i32
Position of the main chat list among chat folders, 0-based
True, if folder tags are enabled
Trait Implementations§
Source§impl Clone for UpdateChatFolders
impl Clone for UpdateChatFolders
Source§fn clone(&self) -> UpdateChatFolders
fn clone(&self) -> UpdateChatFolders
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 UpdateChatFolders
impl Debug for UpdateChatFolders
Source§impl Default for UpdateChatFolders
impl Default for UpdateChatFolders
Source§fn default() -> UpdateChatFolders
fn default() -> UpdateChatFolders
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateChatFolders
impl<'de> Deserialize<'de> for UpdateChatFolders
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 UpdateChatFolders
impl PartialEq for UpdateChatFolders
Source§impl Serialize for UpdateChatFolders
impl Serialize for UpdateChatFolders
impl StructuralPartialEq for UpdateChatFolders
Auto Trait Implementations§
impl Freeze for UpdateChatFolders
impl RefUnwindSafe for UpdateChatFolders
impl Send for UpdateChatFolders
impl Sync for UpdateChatFolders
impl Unpin for UpdateChatFolders
impl UnwindSafe for UpdateChatFolders
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