pub struct MailboxRef<'a> {
pub addrspec: AddrSpec<'a>,
pub name: Option<Phrase<'a>>,
}Fields§
§addrspec: AddrSpec<'a>§name: Option<Phrase<'a>>Implementations§
Source§impl MailboxRef<'static>
impl MailboxRef<'static>
pub fn placeholder() -> Self
Trait Implementations§
Source§impl<'a> Clone for MailboxRef<'a>
impl<'a> Clone for MailboxRef<'a>
Source§fn clone(&self) -> MailboxRef<'a>
fn clone(&self) -> MailboxRef<'a>
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<'a> ContainsUtf8 for MailboxRef<'a>
impl<'a> ContainsUtf8 for MailboxRef<'a>
fn contains_utf8(&self) -> bool
Source§impl<'a> Debug for MailboxRef<'a>
impl<'a> Debug for MailboxRef<'a>
Source§impl<'a> From<AddrSpec<'a>> for MailboxRef<'a>
impl<'a> From<AddrSpec<'a>> for MailboxRef<'a>
Source§impl<'a> From<MailboxRef<'a>> for AddressRef<'a>
impl<'a> From<MailboxRef<'a>> for AddressRef<'a>
Source§fn from(mx: MailboxRef<'a>) -> Self
fn from(mx: MailboxRef<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> IntoBoundedStatic for MailboxRef<'a>
impl<'a> IntoBoundedStatic for MailboxRef<'a>
Source§type Static = MailboxRef<'static>
type Static = MailboxRef<'static>
The target type is bounded by the
'static lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.Source§impl<'a> PartialEq for MailboxRef<'a>
impl<'a> PartialEq for MailboxRef<'a>
Source§fn eq(&self, other: &MailboxRef<'a>) -> bool
fn eq(&self, other: &MailboxRef<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for MailboxRef<'a>
Source§impl<'a> ToBoundedStatic for MailboxRef<'a>
impl<'a> ToBoundedStatic for MailboxRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for MailboxRef<'a>
impl<'a> RefUnwindSafe for MailboxRef<'a>
impl<'a> Send for MailboxRef<'a>
impl<'a> Sync for MailboxRef<'a>
impl<'a> Unpin for MailboxRef<'a>
impl<'a> UnsafeUnpin for MailboxRef<'a>
impl<'a> UnwindSafe for MailboxRef<'a>
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