pub struct ThreadData {Show 17 fields
pub thread_id: LegacyId,
pub thread_author_id: LegacyId,
pub thread_author_name: String,
pub header: String,
pub is_sticky: bool,
pub is_locked: bool,
pub creation_time_as_seconds_ago: i32,
pub n_messages: i32,
pub n_unread_messages: i32,
pub last_message_id: LegacyId,
pub last_message_author_id: LegacyId,
pub last_message_author_name: String,
pub last_message_time_as_seconds_ago: i32,
pub state: i8,
pub admin_id: LegacyId,
pub admin_name: String,
pub admin_operation_time_as_seconds_ago: i32,
}
Fields§
§thread_id: LegacyId
§header: String
§is_sticky: bool
§is_locked: bool
§creation_time_as_seconds_ago: i32
§n_messages: i32
§n_unread_messages: i32
§last_message_id: LegacyId
§last_message_time_as_seconds_ago: i32
§state: i8
§admin_id: LegacyId
§admin_name: String
§admin_operation_time_as_seconds_ago: i32
Trait Implementations§
Source§impl Clone for ThreadData
impl Clone for ThreadData
Source§fn clone(&self) -> ThreadData
fn clone(&self) -> ThreadData
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 ThreadData
impl Debug for ThreadData
Source§impl Default for ThreadData
impl Default for ThreadData
Source§fn default() -> ThreadData
fn default() -> ThreadData
Returns the “default value” for a type. Read more
Source§impl PacketVariable for ThreadData
impl PacketVariable for ThreadData
Source§impl PartialEq for ThreadData
impl PartialEq for ThreadData
impl StructuralPartialEq for ThreadData
Auto Trait Implementations§
impl Freeze for ThreadData
impl RefUnwindSafe for ThreadData
impl Send for ThreadData
impl Sync for ThreadData
impl Unpin for ThreadData
impl UnwindSafe for ThreadData
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