Struct smtp_message::Reply
source · [−]pub struct Reply<S = String> {
pub code: ReplyCode,
pub ecode: Option<EnhancedReplyCode<S>>,
pub text: Vec<MaybeUtf8<S>>,
}
Fields
code: ReplyCode
ecode: Option<EnhancedReplyCode<S>>
text: Vec<MaybeUtf8<S>>
Implementations
Trait Implementations
sourceimpl<'de, S> Deserialize<'de> for Reply<S> where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for Reply<S> where
S: Deserialize<'de>,
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<S: Eq> Eq for Reply<S>
impl<S> StructuralEq for Reply<S>
impl<S> StructuralPartialEq for Reply<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for Reply<S> where
S: RefUnwindSafe,
impl<S> Send for Reply<S> where
S: Send,
impl<S> Sync for Reply<S> where
S: Sync,
impl<S> Unpin for Reply<S> where
S: Unpin,
impl<S> UnwindSafe for Reply<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more