[−][src]Struct melib::EnvelopeRefMut
Fields
guard: RwLockWriteGuard<'g, HashMap<EnvelopeHash, Envelope>>
env_hash: EnvelopeHash
Methods from Deref<Target = Envelope>
pub fn set_hash(&mut self, new_hash: EnvelopeHash)
[src]
pub fn hash(&self) -> EnvelopeHash
[src]
pub fn populate_headers(&mut self, bytes: &[u8]) -> Result<()>
[src]
pub fn date(&self) -> UnixTimestamp
[src]
pub fn datetime(&self) -> UnixTimestamp
[src]
pub fn date_as_str(&self) -> &str
[src]
pub fn from(&self) -> &[Address]
[src]
pub fn field_bcc_to_string(&self) -> String
[src]
pub fn field_cc_to_string(&self) -> String
[src]
pub fn field_from_to_string(&self) -> String
[src]
pub fn to(&self) -> &[Address]
[src]
pub fn field_to_to_string(&self) -> String
[src]
pub fn field_references_to_string(&self) -> String
[src]
pub fn body_bytes(&self, bytes: &[u8]) -> Attachment
[src]
pub fn headers<'a>(&self, bytes: &'a [u8]) -> Result<Vec<(&'a str, &'a str)>>
[src]
pub fn subject(&self) -> Cow<'_, str>
[src]
pub fn in_reply_to(&self) -> Option<&MessageID>
[src]
pub fn in_reply_to_display(&self) -> Option<Cow<'_, str>>
[src]
pub fn in_reply_to_raw(&self) -> Option<Cow<'_, str>>
[src]
pub fn message_id(&self) -> &MessageID
[src]
pub fn message_id_display(&self) -> Cow<'_, str>
[src]
pub fn message_id_raw(&self) -> Cow<'_, str>
[src]
pub fn set_date(&mut self, new_val: &[u8])
[src]
pub fn set_bcc(&mut self, new_val: Vec<Address>)
[src]
pub fn set_cc(&mut self, new_val: SmallVec<[Address; 1]>)
[src]
pub fn set_from(&mut self, new_val: SmallVec<[Address; 1]>)
[src]
pub fn set_to(&mut self, new_val: SmallVec<[Address; 1]>)
[src]
pub fn set_in_reply_to(&mut self, new_val: &[u8])
[src]
pub fn set_subject(&mut self, new_val: Vec<u8>)
[src]
pub fn set_message_id(&mut self, new_val: &[u8])
[src]
pub fn push_references(&mut self, new_ref: MessageID)
[src]
pub fn set_references(&mut self, new_val: &[u8])
[src]
pub fn references(&self) -> SmallVec<[&MessageID; 8]>
[src]
pub fn other_headers(&self) -> &HeaderMap
[src]
pub fn other_headers_mut(&mut self) -> &mut HeaderMap
[src]
pub fn thread(&self) -> ThreadNodeHash
[src]
pub fn set_thread(&mut self, new_val: ThreadNodeHash)
[src]
pub fn set_datetime(&mut self, new_val: UnixTimestamp)
[src]
pub fn set_flag(&mut self, f: Flag, value: bool)
[src]
pub fn set_flags(&mut self, f: Flag)
[src]
pub fn flags(&self) -> Flag
[src]
pub fn set_seen(&mut self)
[src]
pub fn set_unseen(&mut self)
[src]
pub fn is_seen(&self) -> bool
[src]
pub fn set_has_attachments(&mut self, new_val: bool)
[src]
pub fn has_attachments(&self) -> bool
[src]
pub fn labels(&self) -> &SmallVec<[u64; 8]>
[src]
pub fn labels_mut(&mut self) -> &mut SmallVec<[u64; 8]>
[src]
Trait Implementations
impl<'_> Deref for EnvelopeRefMut<'_>
[src]
impl<'_> DerefMut for EnvelopeRefMut<'_>
[src]
Auto Trait Implementations
impl<'g> RefUnwindSafe for EnvelopeRefMut<'g>
impl<'g> !Send for EnvelopeRefMut<'g>
impl<'g> Sync for EnvelopeRefMut<'g>
impl<'g> Unpin for EnvelopeRefMut<'g>
impl<'g> UnwindSafe for EnvelopeRefMut<'g>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,