pub struct ForumThreadBase {Show 13 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,
}
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
Trait Implementations§
Source§impl Clone for ForumThreadBase
impl Clone for ForumThreadBase
Source§fn clone(&self) -> ForumThreadBase
fn clone(&self) -> ForumThreadBase
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 ForumThreadBase
impl Debug for ForumThreadBase
Source§impl<'de> Deserialize<'de> for ForumThreadBase
impl<'de> Deserialize<'de> for ForumThreadBase
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 ForumThreadBase
impl PartialEq for ForumThreadBase
impl StructuralPartialEq for ForumThreadBase
Auto Trait Implementations§
impl Freeze for ForumThreadBase
impl RefUnwindSafe for ForumThreadBase
impl Send for ForumThreadBase
impl Sync for ForumThreadBase
impl Unpin for ForumThreadBase
impl UnwindSafe for ForumThreadBase
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