pub struct ForumTopicIcon {
pub color: i32,
pub custom_emoji_id: i64,
}
Expand description
Describes a forum topic icon
Fields§
§color: i32
Color of the topic icon in RGB format
custom_emoji_id: i64
Unique identifier of the custom emoji shown on the topic icon; 0 if none
Trait Implementations§
Source§impl Clone for ForumTopicIcon
impl Clone for ForumTopicIcon
Source§fn clone(&self) -> ForumTopicIcon
fn clone(&self) -> ForumTopicIcon
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 ForumTopicIcon
impl Debug for ForumTopicIcon
Source§impl Default for ForumTopicIcon
impl Default for ForumTopicIcon
Source§fn default() -> ForumTopicIcon
fn default() -> ForumTopicIcon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ForumTopicIcon
impl<'de> Deserialize<'de> for ForumTopicIcon
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 ForumTopicIcon
impl PartialEq for ForumTopicIcon
Source§impl Serialize for ForumTopicIcon
impl Serialize for ForumTopicIcon
impl StructuralPartialEq for ForumTopicIcon
Auto Trait Implementations§
impl Freeze for ForumTopicIcon
impl RefUnwindSafe for ForumTopicIcon
impl Send for ForumTopicIcon
impl Sync for ForumTopicIcon
impl Unpin for ForumTopicIcon
impl UnwindSafe for ForumTopicIcon
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