[][src]Struct nakama_rust::nakama::api::ChannelMessage

pub struct ChannelMessage {
    pub channel_id: String,
    pub message_id: String,
    pub code: Option<i32>,
    pub sender_id: String,
    pub username: String,
    pub content: String,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub persistent: Option<bool>,
    pub room_name: String,
    pub group_id: String,
    pub user_id_one: String,
    pub user_id_two: String,
}

Fields

channel_id: Stringmessage_id: Stringcode: Option<i32>sender_id: Stringusername: Stringcontent: Stringcreate_time: Option<Timestamp>update_time: Option<Timestamp>persistent: Option<bool>room_name: Stringgroup_id: Stringuser_id_one: Stringuser_id_two: String

Trait Implementations

impl Clone for ChannelMessage[src]

impl Debug for ChannelMessage[src]

impl Default for ChannelMessage[src]

impl Message for ChannelMessage[src]

impl PartialEq<ChannelMessage> for ChannelMessage[src]

impl StructuralPartialEq for ChannelMessage[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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>, 

impl<T> WithSubscriber for T[src]