pub enum MessageRef {
MailApp {
account_id: String,
mailbox: String,
local_id: String,
},
Graph {
id: String,
},
}Expand description
A decoded MessageSummary::id.
Variants§
MailApp
Mail.app. Its numeric message id is only addressable inside one mailbox of one account, so the account and mailbox have to travel with it — which is the whole reason the wire id is composite rather than the bare number.
Graph
Microsoft Graph, whose id is addressable on its own.
Trait Implementations§
Source§impl Clone for MessageRef
impl Clone for MessageRef
Source§fn clone(&self) -> MessageRef
fn clone(&self) -> MessageRef
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 MessageRef
impl Debug for MessageRef
impl Eq for MessageRef
Source§impl PartialEq for MessageRef
impl PartialEq for MessageRef
impl StructuralPartialEq for MessageRef
Auto Trait Implementations§
impl Freeze for MessageRef
impl RefUnwindSafe for MessageRef
impl Send for MessageRef
impl Sync for MessageRef
impl Unpin for MessageRef
impl UnsafeUnpin for MessageRef
impl UnwindSafe for MessageRef
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