Struct vsmtp_protocol::MailFromArgs
#[non_exhaustive]pub struct MailFromArgs {
pub reverse_path: Option<String>,
pub mime_body_type: Option<MimeBodyType>,
}Expand description
Information received from the client at the MAIL FROM command.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reverse_path: Option<String>Sender address.
mime_body_type: Option<MimeBodyType>(8BITMIME)
Trait Implementations§
§impl TryFrom<UnparsedArgs> for MailFromArgs
impl TryFrom<UnparsedArgs> for MailFromArgs
§type Error = ParseArgsError
type Error = ParseArgsError
The type returned in the event of a conversion error.
§fn try_from(value: UnparsedArgs) -> Result<Self, Self::Error>
fn try_from(value: UnparsedArgs) -> Result<Self, Self::Error>
Performs the conversion.