Struct wechaty_puppet::schemas::message::MessagePayload[][src]

pub struct MessagePayload {
    pub id: String,
    pub filename: String,
    pub text: String,
    pub timestamp: u64,
    pub message_type: MessageType,
    pub from_id: String,
    pub mention_id_list: Vec<String>,
    pub room_id: String,
    pub to_id: String,
}

Fields

id: Stringfilename: Stringtext: Stringtimestamp: u64message_type: MessageTypefrom_id: Stringmention_id_list: Vec<String>room_id: Stringto_id: String

Trait Implementations

impl Clone for MessagePayload[src]

impl Debug for MessagePayload[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> 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.