#[non_exhaustive]pub struct Message {Show 14 fields
pub id: i64,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub url: Option<String>,
pub creator: Option<Contact>,
pub sender: Option<Contact>,
pub is_reply: Option<bool>,
pub subject: Option<String>,
pub content: Option<String>,
pub addressed: Option<Addressed>,
pub show_addressed_selector: Option<bool>,
pub scheduled_delivery_at: Option<DateTime>,
pub posting: Option<MessagePostingContext>,
pub addressed_sender: Option<AddressedSender>,
}Expand description
Message — full message detail
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: i64§created_at: Option<DateTime>ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
updated_at: Option<DateTime>ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
url: Option<String>§creator: Option<Contact>§sender: Option<Contact>§is_reply: Option<bool>§subject: Option<String>§content: Option<String>§addressed: Option<Addressed>§show_addressed_selector: Option<bool>§scheduled_delivery_at: Option<DateTime>ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
posting: Option<MessagePostingContext>§addressed_sender: Option<AddressedSender>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
impl StructuralPartialEq for Message
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