Struct g_rust::extension::parsers::subparsers::ThreadData
source · 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<ThreadData> for ThreadData
impl PartialEq<ThreadData> for ThreadData
source§fn eq(&self, other: &ThreadData) -> bool
fn eq(&self, other: &ThreadData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ThreadData
Auto Trait Implementations§
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