pub struct ForumThreadExtended {Show 16 fields
pub id: ForumThreadId,
pub title: String,
pub forum_id: ForumId,
pub posts: i32,
pub rating: i32,
pub views: i32,
pub author: ForumThreadAuthor,
pub last_poster: Option<ForumThreadAuthor>,
pub first_post_time: i32,
pub last_post_time: Option<i32>,
pub has_poll: bool,
pub is_locked: bool,
pub is_sticky: bool,
pub content: String,
pub content_raw: String,
pub poll: Option<ForumPoll>,
}
Fields§
§id: ForumThreadId
§title: String
§forum_id: ForumId
§posts: i32
§rating: i32
§views: i32
Total number of times players have opened this thread.
last_poster: Option<ForumThreadAuthor>
§first_post_time: i32
§last_post_time: Option<i32>
§has_poll: bool
§is_locked: bool
§is_sticky: bool
§content: String
§content_raw: String
§poll: Option<ForumPoll>
Trait Implementations§
Source§impl Clone for ForumThreadExtended
impl Clone for ForumThreadExtended
Source§fn clone(&self) -> ForumThreadExtended
fn clone(&self) -> ForumThreadExtended
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 ForumThreadExtended
impl Debug for ForumThreadExtended
Source§impl<'de> Deserialize<'de> for ForumThreadExtended
impl<'de> Deserialize<'de> for ForumThreadExtended
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 ForumThreadExtended
impl PartialEq for ForumThreadExtended
impl StructuralPartialEq for ForumThreadExtended
Auto Trait Implementations§
impl Freeze for ForumThreadExtended
impl RefUnwindSafe for ForumThreadExtended
impl Send for ForumThreadExtended
impl Sync for ForumThreadExtended
impl Unpin for ForumThreadExtended
impl UnwindSafe for ForumThreadExtended
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