Struct email_address_list::GarbageContact
source · pub struct GarbageContact(_);
Expand description
A string that we couldn’t parse into an EmailContact
but implements
the Contactish
trait regardless
Trait Implementations
sourceimpl Clone for GarbageContact
impl Clone for GarbageContact
sourcefn clone(&self) -> GarbageContact
fn clone(&self) -> GarbageContact
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Contactish for GarbageContact
impl Contactish for GarbageContact
sourcefn comment(&self) -> Option<&String>
fn comment(&self) -> Option<&String>
Returns the actual string we couldn’t interpret as EmailContact
fn new<T>(garbage: T) -> Selfwhere
T: AsRef<str>,
fn set_comment<T>(self, garbage: T) -> Selfwhere
T: AsRef<str>,
fn set_email<T>(self, _: T) -> Self
fn set_name<T>(self, _: T) -> Self
sourceimpl Debug for GarbageContact
impl Debug for GarbageContact
sourceimpl Default for GarbageContact
impl Default for GarbageContact
sourcefn default() -> GarbageContact
fn default() -> GarbageContact
Returns the “default value” for a type. Read more
sourceimpl From<GarbageContact> for Contact
impl From<GarbageContact> for Contact
sourcefn from(garbage: GarbageContact) -> Contact
fn from(garbage: GarbageContact) -> Contact
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for GarbageContact
impl Send for GarbageContact
impl Sync for GarbageContact
impl Unpin for GarbageContact
impl UnwindSafe for GarbageContact
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more