Struct EnvelopeSender
pub struct EnvelopeSender(/* private fields */);Expand description
Envelope sender path.
Implementations§
§impl EnvelopeSender
impl EnvelopeSender
pub fn new(
value: impl AsRef<str>,
) -> Result<EnvelopeSender, AddressValidationError>
pub fn new( value: impl AsRef<str>, ) -> Result<EnvelopeSender, AddressValidationError>
Creates an envelope sender from address text.
pub const fn null() -> EnvelopeSender
pub const fn null() -> EnvelopeSender
Creates a null envelope sender.
pub const fn path(&self) -> &MailFromPath
pub const fn path(&self) -> &MailFromPath
Returns the MAIL FROM path.
Trait Implementations§
§impl Clone for EnvelopeSender
impl Clone for EnvelopeSender
§fn clone(&self) -> EnvelopeSender
fn clone(&self) -> EnvelopeSender
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for EnvelopeSender
impl Debug for EnvelopeSender
§impl Display for EnvelopeSender
impl Display for EnvelopeSender
§impl Hash for EnvelopeSender
impl Hash for EnvelopeSender
§impl Ord for EnvelopeSender
impl Ord for EnvelopeSender
§impl PartialEq for EnvelopeSender
impl PartialEq for EnvelopeSender
§impl PartialOrd for EnvelopeSender
impl PartialOrd for EnvelopeSender
impl Eq for EnvelopeSender
impl StructuralPartialEq for EnvelopeSender
Auto Trait Implementations§
impl Freeze for EnvelopeSender
impl RefUnwindSafe for EnvelopeSender
impl Send for EnvelopeSender
impl Sync for EnvelopeSender
impl Unpin for EnvelopeSender
impl UnsafeUnpin for EnvelopeSender
impl UnwindSafe for EnvelopeSender
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