Struct async_smtp::commands::EhloCommand
source · pub struct EhloCommand { /* private fields */ }Expand description
EHLO command
Implementations§
source§impl EhloCommand
impl EhloCommand
sourcepub fn new(client_id: ClientId) -> EhloCommand
pub fn new(client_id: ClientId) -> EhloCommand
Creates a EHLO command
Trait Implementations§
source§impl Clone for EhloCommand
impl Clone for EhloCommand
source§fn clone(&self) -> EhloCommand
fn clone(&self) -> EhloCommand
Returns a copy 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 moresource§impl Debug for EhloCommand
impl Debug for EhloCommand
source§impl Display for EhloCommand
impl Display for EhloCommand
source§impl PartialEq<EhloCommand> for EhloCommand
impl PartialEq<EhloCommand> for EhloCommand
source§fn eq(&self, other: &EhloCommand) -> bool
fn eq(&self, other: &EhloCommand) -> bool
This method tests for
self and other values to be equal, and is used
by ==.