pub struct ForumTopicInfo {
pub message_thread_id: i64,
pub name: String,
pub icon: ForumTopicIcon,
pub creation_date: i32,
pub creator_id: MessageSender,
pub is_general: bool,
pub is_outgoing: bool,
pub is_closed: bool,
pub is_hidden: bool,
}
Expand description
Contains basic information about a forum topic
Fields§
§message_thread_id: i64
Message thread identifier of the topic
name: String
Name of the topic
icon: ForumTopicIcon
Icon of the topic
creation_date: i32
Point in time (Unix timestamp) when the topic was created
creator_id: MessageSender
Identifier of the creator of the topic
is_general: bool
True, if the topic is the General topic list
is_outgoing: bool
True, if the topic was created by the current user
is_closed: bool
True, if the topic is closed
True, if the topic is hidden above the topic list and closed; for General topic only
Trait Implementations§
Source§impl Clone for ForumTopicInfo
impl Clone for ForumTopicInfo
Source§fn clone(&self) -> ForumTopicInfo
fn clone(&self) -> ForumTopicInfo
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 ForumTopicInfo
impl Debug for ForumTopicInfo
Source§impl<'de> Deserialize<'de> for ForumTopicInfo
impl<'de> Deserialize<'de> for ForumTopicInfo
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 ForumTopicInfo
impl PartialEq for ForumTopicInfo
Source§impl Serialize for ForumTopicInfo
impl Serialize for ForumTopicInfo
impl StructuralPartialEq for ForumTopicInfo
Auto Trait Implementations§
impl Freeze for ForumTopicInfo
impl RefUnwindSafe for ForumTopicInfo
impl Send for ForumTopicInfo
impl Sync for ForumTopicInfo
impl Unpin for ForumTopicInfo
impl UnwindSafe for ForumTopicInfo
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