pub struct MessageRecord {
pub id: String,
pub source: String,
pub destination: String,
pub title: String,
pub content: String,
pub timestamp: i64,
pub direction: String,
pub fields: Option<Value>,
pub receipt_status: Option<String>,
}Fields§
§id: String§source: String§destination: String§title: String§content: String§timestamp: i64§direction: String§fields: Option<Value>§receipt_status: Option<String>Trait Implementations§
Source§impl Clone for MessageRecord
impl Clone for MessageRecord
Source§fn clone(&self) -> MessageRecord
fn clone(&self) -> MessageRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageRecord
impl Debug for MessageRecord
Source§impl PartialEq for MessageRecord
impl PartialEq for MessageRecord
Source§impl Serialize for MessageRecord
impl Serialize for MessageRecord
impl StructuralPartialEq for MessageRecord
Auto Trait Implementations§
impl Freeze for MessageRecord
impl RefUnwindSafe for MessageRecord
impl Send for MessageRecord
impl Sync for MessageRecord
impl Unpin for MessageRecord
impl UnsafeUnpin for MessageRecord
impl UnwindSafe for MessageRecord
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