pub struct MessageEntry {
pub handle: String,
pub subject: String,
pub datetime: String,
pub sender_name: String,
pub sender_addressing: String,
pub recipient_name: String,
pub recipient_addressing: String,
pub msg_type: String,
pub size: u32,
pub read: bool,
pub sent: bool,
}Expand description
One <msg> entry in a MAP-msg-listing response; absent attributes default to zero/false/empty.
Fields§
§handle: StringOpaque device-assigned message handle (hex string).
subject: StringMessage subject or first line of body text.
datetime: StringTimestamp in MAP format (YYYYMMDDTHHMMSS[±HHMM]).
sender_name: StringSender display name; empty if unavailable.
sender_addressing: StringSender address (phone number or email).
recipient_name: StringRecipient display name; empty for received messages.
recipient_addressing: StringRecipient address; empty for received messages.
msg_type: StringMessage type string (SMS_GSM, SMS_CDMA, EMAIL, MMS).
size: u32Body size in bytes as reported by the device.
read: boolDevice-reported read state.
sent: booltrue for outbound messages from this device; false for received.
Trait Implementations§
Source§impl Clone for MessageEntry
impl Clone for MessageEntry
Source§fn clone(&self) -> MessageEntry
fn clone(&self) -> MessageEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MessageEntry
impl Debug for MessageEntry
impl Eq for MessageEntry
Source§impl PartialEq for MessageEntry
impl PartialEq for MessageEntry
Source§fn eq(&self, other: &MessageEntry) -> bool
fn eq(&self, other: &MessageEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageEntry
Auto Trait Implementations§
impl Freeze for MessageEntry
impl RefUnwindSafe for MessageEntry
impl Send for MessageEntry
impl Sync for MessageEntry
impl Unpin for MessageEntry
impl UnsafeUnpin for MessageEntry
impl UnwindSafe for MessageEntry
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