[][src]Struct splits_io_api::ChatMessage

pub struct ChatMessage {
    pub body: Box<str>,
    pub created_at: Box<str>,
    pub from_entrant: bool,
    pub updated_at: Box<str>,
    pub user: Runner,
}

A Chat Message is a shortform message sent by a user to a Race

API Documentation

Fields

body: Box<str>

The contents of the message.

created_at: Box<str>

The time and date at which this message was created on Splits.io. This field conforms to ISO 8601.

from_entrant: bool

Boolean indicating whether the sender was in the race when the message was sent.

updated_at: Box<str>

The time and date at which this message was most recently modified on Splits.io. This field conforms to ISO 8601.

user: Runner

The Runner that sent the message.

Trait Implementations

impl Debug for ChatMessage[src]

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