Struct smtp_message::ReplyLine
source · [−]pub struct ReplyLine<S> {
pub code: ReplyCode,
pub last: bool,
pub ecode: Option<EnhancedReplyCode<S>>,
pub text: MaybeUtf8<S>,
}
Fields
code: ReplyCode
last: bool
ecode: Option<EnhancedReplyCode<S>>
text: MaybeUtf8<S>
Implementations
Trait Implementations
sourceimpl<'de, S> Deserialize<'de> for ReplyLine<S> where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for ReplyLine<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 ReplyLine<S>
impl<S> StructuralEq for ReplyLine<S>
impl<S> StructuralPartialEq for ReplyLine<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for ReplyLine<S> where
S: RefUnwindSafe,
impl<S> Send for ReplyLine<S> where
S: Send,
impl<S> Sync for ReplyLine<S> where
S: Sync,
impl<S> Unpin for ReplyLine<S> where
S: Unpin,
impl<S> UnwindSafe for ReplyLine<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