[][src]Struct talk_loco_commands::response::chat::msg::Msg

pub struct Msg {
    pub chat_id: i64,
    pub log_id: i64,
    pub chatlog: Option<Chatlog>,
    pub author_nick: String,
    pub no_seen: bool,
    pub link_id: Option<i64>,
    pub noti_read: Option<bool>,
}

Message sent from chatroom

Fields

chat_id: i64

Sent chatroom id

log_id: i64

Sent chat log id

chatlog: Option<Chatlog>author_nick: String

Sender nickname

no_seen: bool

false If sender sent message without reading.

If it's false, sent message doesn't decrease read count of last chat.

link_id: Option<i64>noti_read: Option<bool>

Act like no_seen.(?) Only appears on openchat

Trait Implementations

impl BsonData for Msg[src]

impl Clone for Msg[src]

impl Debug for Msg[src]

impl<'de> Deserialize<'de> for Msg[src]

impl Serialize for Msg[src]

Auto Trait Implementations

impl RefUnwindSafe for Msg

impl Send for Msg

impl Sync for Msg

impl Unpin for Msg

impl UnwindSafe for Msg

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,