Struct telexide::model::ForumTopic
source · pub struct ForumTopic {
pub message_thread_id: i64,
pub name: String,
pub icon_color: i64,
pub icon_custom_emoji_id: Option<String>,
}
Expand description
This object represents a forum topic.
Fields§
§message_thread_id: i64
Unique identifier of the forum topic
name: String
Name of the topic
icon_color: i64
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 PartialEq for ForumTopic
impl PartialEq 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
source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
source§impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
impl<T> CloneableStorage for Twhere T: Any + Send + Sync + Clone,
fn clone_storage(&self) -> Box<dyn CloneableStorage>
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.