pub struct ChatFolderIcon {
pub name: String,
}
Expand description
Represents an icon for a chat folder
Fields§
§name: String
The chosen icon name for short folder representation; one of “All”, “Unread”, “Unmuted”, “Bots”, “Channels”, “Groups”, “Private”, “Custom”, “Setup”, “Cat”, “Crown”, “Favorite”, “Flower”, “Game”, “Home”, “Love”, “Mask”, “Party”, “Sport”, “Study”, “Trade”, “Travel”, “Work”, “Airplane”, “Book”, “Light”, “Like”, “Money”, “Note”, “Palette”
Trait Implementations§
Source§impl Clone for ChatFolderIcon
impl Clone for ChatFolderIcon
Source§fn clone(&self) -> ChatFolderIcon
fn clone(&self) -> ChatFolderIcon
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 ChatFolderIcon
impl Debug for ChatFolderIcon
Source§impl Default for ChatFolderIcon
impl Default for ChatFolderIcon
Source§fn default() -> ChatFolderIcon
fn default() -> ChatFolderIcon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatFolderIcon
impl<'de> Deserialize<'de> for ChatFolderIcon
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 ChatFolderIcon
impl PartialEq for ChatFolderIcon
Source§impl Serialize for ChatFolderIcon
impl Serialize for ChatFolderIcon
impl StructuralPartialEq for ChatFolderIcon
Auto Trait Implementations§
impl Freeze for ChatFolderIcon
impl RefUnwindSafe for ChatFolderIcon
impl Send for ChatFolderIcon
impl Sync for ChatFolderIcon
impl Unpin for ChatFolderIcon
impl UnwindSafe for ChatFolderIcon
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