Struct g_rust::extension::parsers::subparsers::MessageData
source · pub struct MessageData {
pub message_id: LegacyId,
pub message_index: i32,
pub author_id: LegacyId,
pub author_name: String,
pub author_figure: String,
pub creation_time_as_seconds_ago: i32,
pub message_text: String,
pub state: i8,
pub admin_id: LegacyId,
pub admin_name: String,
pub admin_operation_time_as_seconds_ago: i32,
pub author_post_count: i32,
}
Fields§
§message_id: LegacyId
§message_index: i32
§creation_time_as_seconds_ago: i32
§message_text: String
§state: i8
§admin_id: LegacyId
§admin_name: String
§admin_operation_time_as_seconds_ago: i32
Trait Implementations§
source§impl Clone for MessageData
impl Clone for MessageData
source§fn clone(&self) -> MessageData
fn clone(&self) -> MessageData
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 MessageData
impl Debug for MessageData
source§impl Default for MessageData
impl Default for MessageData
source§fn default() -> MessageData
fn default() -> MessageData
Returns the “default value” for a type. Read more
source§impl PacketVariable for MessageData
impl PacketVariable for MessageData
source§impl PartialEq<MessageData> for MessageData
impl PartialEq<MessageData> for MessageData
source§fn eq(&self, other: &MessageData) -> bool
fn eq(&self, other: &MessageData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MessageData
Auto Trait Implementations§
impl RefUnwindSafe for MessageData
impl Send for MessageData
impl Sync for MessageData
impl Unpin for MessageData
impl UnwindSafe for MessageData
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