Struct mailparse::body::TextBody [−][src]
pub struct TextBody<'a> { /* fields omitted */ }
Expand description
Struct that holds the textual body representation of the message (or message subpart).
Implementations
Get the body Content-Type
Get the raw body of the message exactly as it is written in the message (or message subpart).
Get the body of the message as a Rust string. This function converts the body into a Rust UTF-8 string using the charset in the Content-Type (or “us-ascii” if the charset was missing or not recognized).
Auto Trait Implementations
impl<'a> RefUnwindSafe for TextBody<'a>
impl<'a> UnwindSafe for TextBody<'a>