Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/SantaClaas/chat-fww. Chat app project for frameworks and workflows and w...?
Something went wrong. Try again.
1234567891011121314151617use serde::{Deserialize, Serialize};use std::sync::Arc;use time::OffsetDateTime;
pub(super) mod delivery_service;pub(super) mod user;pub(super) mod websocket;
#[derive(Serialize, Deserialize, Debug)]pub(in crate::actor) struct ChatMessage { pub(super) recipient: Arc<str>, sender: String, text: String, #[serde(with = "time::serde::timestamp::milliseconds")] time_utc: OffsetDateTime,}