pub struct EmailEntry {
pub to_email: Option<String>,
pub to_name: Option<String>,
}Fields§
§to_email: Option<String>§to_name: Option<String>Implementations§
Source§impl EmailEntry
impl EmailEntry
pub fn new() -> EmailEntry
Trait Implementations§
Source§impl Clone for EmailEntry
impl Clone for EmailEntry
Source§fn clone(&self) -> EmailEntry
fn clone(&self) -> EmailEntry
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 EmailEntry
impl Debug for EmailEntry
Source§impl Default for EmailEntry
impl Default for EmailEntry
Source§fn default() -> EmailEntry
fn default() -> EmailEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailEntry
impl<'de> Deserialize<'de> for EmailEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EmailEntry
impl PartialEq for EmailEntry
Source§fn eq(&self, other: &EmailEntry) -> bool
fn eq(&self, other: &EmailEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EmailEntry
impl Serialize for EmailEntry
impl StructuralPartialEq for EmailEntry
Auto Trait Implementations§
impl Freeze for EmailEntry
impl RefUnwindSafe for EmailEntry
impl Send for EmailEntry
impl Sync for EmailEntry
impl Unpin for EmailEntry
impl UnsafeUnpin for EmailEntry
impl UnwindSafe for EmailEntry
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