Struct tg_flows::ForumTopic
source · pub struct ForumTopic {
pub message_thread_id: i32,
pub name: String,
pub icon_color: [u8; 3],
pub icon_custom_emoji_id: Option<String>,
}Expand description
This object represents a forum topic.
Fields§
§message_thread_id: i32Unique identifier of the forum topic
name: StringName of the topic.
icon_color: [u8; 3]Color of the topic icon in RGB format.
icon_custom_emoji_id: Option<String>Unique identifier of the custom emoji shown as the topic icon.
Trait Implementations§
source§impl Clone for ForumTopic
impl Clone for ForumTopic
source§fn clone(&self) -> ForumTopic
fn clone(&self) -> ForumTopic
Returns a copy 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 ForumTopic
impl Debug for ForumTopic
source§impl<'de> Deserialize<'de> for ForumTopic
impl<'de> Deserialize<'de> for ForumTopic
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 Hash for ForumTopic
impl Hash for ForumTopic
source§impl PartialEq<ForumTopic> for ForumTopic
impl PartialEq<ForumTopic> for ForumTopic
source§fn eq(&self, other: &ForumTopic) -> bool
fn eq(&self, other: &ForumTopic) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ForumTopic
impl Serialize for ForumTopic
impl Eq for ForumTopic
impl StructuralEq for ForumTopic
impl StructuralPartialEq for ForumTopic
Auto Trait Implementations§
impl RefUnwindSafe for ForumTopic
impl Send for ForumTopic
impl Sync for ForumTopic
impl Unpin for ForumTopic
impl UnwindSafe for ForumTopic
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