#[non_exhaustive]pub struct MessageRecord {
pub ordinal: u32,
pub envelope: MessageEnvelope,
pub state: MessageState,
pub attachment_size: Option<i64>,
pub delivery_time: Option<Timestamp>,
pub acceptance_time: Option<Timestamp>,
pub message_type: Option<String>,
pub mode: Option<MessageMode>,
pub special_message_flag: Option<i64>,
}Expand description
One entry in a sent- or received-message page.
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.ordinal: u32One-based ordinal within the returned result set.
envelope: MessageEnvelopeMessage envelope.
state: MessageStateCurrent message state.
attachment_size: Option<i64>Rounded attachment size in kilobytes.
delivery_time: Option<Timestamp>Time at which the message entered the databox.
acceptance_time: Option<Timestamp>Time of legal acceptance, if applicable.
message_type: Option<String>Optional raw dmType attribute.
mode: Option<MessageMode>Standard or large-message mode, if supplied by ISDS.
special_message_flag: Option<i64>Optional raw special-message flag.
Trait Implementations§
Source§impl Clone for MessageRecord
impl Clone for MessageRecord
Source§impl Debug for MessageRecord
impl Debug for MessageRecord
impl Eq for MessageRecord
Source§impl PartialEq for MessageRecord
impl PartialEq for MessageRecord
impl StructuralPartialEq for MessageRecord
Auto Trait Implementations§
impl Forget for MessageRecord
impl Freeze for MessageRecord
impl Move 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