[][src]Struct coolq_sdk_rust::events::DiscussMessageEvent

pub struct DiscussMessageEvent {
    pub sub_type: i32,
    pub msg_id: i32,
    pub discuss_id: i64,
    pub user_id: i64,
    pub msg: String,
    pub font: i32,
}

Fields

sub_type: i32msg_id: i32discuss_id: i64user_id: i64msg: Stringfont: i32

Implementations

impl DiscussMessageEvent[src]

pub fn new(
    sub_type: i32,
    msg_id: i32,
    discuss_id: i64,
    user_id: i64,
    msg: *const c_char,
    font: i32
) -> Self
[src]

Trait Implementations

impl Clone for DiscussMessageEvent[src]

impl Debug for DiscussMessageEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.