Expand description
Client identifier, the parameter to EHLO
Variants
Domain(String)
A fully-qualified domain name
Ipv4(Ipv4Addr)
An IPv4 address
Ipv6(Ipv6Addr)
An IPv6 address
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ClientId
impl<'de> Deserialize<'de> for ClientId
sourcefn 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
impl Eq for ClientId
impl StructuralEq for ClientId
impl StructuralPartialEq for ClientId
Auto Trait Implementations
impl RefUnwindSafe for ClientId
impl Send for ClientId
impl Sync for ClientId
impl Unpin for ClientId
impl UnwindSafe for ClientId
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