pub struct Message {
pub id: String,
pub author: ContactOrOwnerOrString,
pub platform: Platform,
pub created_at: DateTime<Utc>,
pub message: String,
pub raw: Option<String>,
pub attachments: Vec<File>,
pub agent: bool,
pub undelivered: Option<String>,
}Fields§
§id: String§platform: Platform§created_at: DateTime<Utc>§message: String§raw: Option<String>§attachments: Vec<File>§agent: boolSent by the inbox agent.
undelivered: Option<String>Why it never reached them, when its carrier refused it or it failed to send.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Message
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