pub struct Thread {
pub thread_info: ThreadInfo,
pub channel_id: Option<String>,
pub guild_id: Option<String>,
pub author_id: Option<String>,
pub event_id: Option<String>,
/* private fields */
}Expand description
Forum thread structure
Fields§
§thread_info: ThreadInfoThread information
channel_id: Option<String>Channel ID
guild_id: Option<String>Guild ID
Author ID
event_id: Option<String>Event ID
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Thread
impl !RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl !UnwindSafe for Thread
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