#[repr(C)]pub struct TextMessage {
pub nMsgType: TextMsgType,
pub nFromUserID: INT32,
pub szFromUsername: [TTCHAR; 512],
pub nToUserID: INT32,
pub nChannelID: INT32,
pub szMessage: [TTCHAR; 512],
pub bMore: TTBOOL,
}Fields§
§nMsgType: TextMsgType§nFromUserID: INT32§szFromUsername: [TTCHAR; 512]§nToUserID: INT32§nChannelID: INT32§szMessage: [TTCHAR; 512]§bMore: TTBOOLTrait Implementations§
Source§impl Clone for TextMessage
impl Clone for TextMessage
Source§fn clone(&self) -> TextMessage
fn clone(&self) -> TextMessage
Returns a duplicate 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 TextMessage
impl Debug for TextMessage
Source§impl Default for TextMessage
impl Default for TextMessage
impl Copy for TextMessage
Auto Trait Implementations§
impl Freeze for TextMessage
impl RefUnwindSafe for TextMessage
impl Send for TextMessage
impl Sync for TextMessage
impl Unpin for TextMessage
impl UnwindSafe for TextMessage
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