Struct splits_io_api::ChatMessage
source · pub struct ChatMessage {
pub body: Box<str>,
pub created_at: Box<str>,
pub from_entrant: bool,
pub updated_at: Box<str>,
pub user: Runner,
}Expand description
A Chat Message is a shortform message sent by a user to a Race
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: boolBoolean 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: RunnerThe Runner that sent the message.
Trait Implementations§
source§impl Debug for ChatMessage
impl Debug for ChatMessage
source§impl<'de> Deserialize<'de> for ChatMessage
impl<'de> Deserialize<'de> for ChatMessage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more