pub struct Message {Show 14 fields
pub id: Uuid,
pub conversation_id: Uuid,
pub sender: Actor,
pub sequence: i64,
pub status: MessageStatus,
pub content: MessageCreate,
pub created_at: String,
pub delivered_at: Option<String>,
pub read_at: Option<String>,
pub failure_reason: Option<String>,
pub bundle: Option<BundleRef>,
pub version: Option<i64>,
pub updated_at: Option<String>,
pub deleted_at: Option<String>,
}Fields§
§id: Uuid§conversation_id: Uuid§sender: Actor§sequence: i64§status: MessageStatus§content: MessageCreate§created_at: String§delivered_at: Option<String>§read_at: Option<String>§failure_reason: Option<String>§bundle: Option<BundleRef>§version: Option<i64>§updated_at: Option<String>§deleted_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
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
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more