pub struct PlainText {
pub text: String,
pub flowed: bool,
pub delsp: bool,
}
Expand description
Plaintext message body together with format=flowed attributes.
Fields§
§text: String
The text itself.
flowed: bool
Text may “flowed” as defined in RFC 2646.
At a glance, that means, if a line ends with a space, it is merged with the next one
and the first leading spaces is ignored
(to allow lines starting with >
that normally indicates a quote)
delsp: bool
If set together with “flowed”, The space indicating merging two lines is removed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlainText
impl RefUnwindSafe for PlainText
impl Send for PlainText
impl Sync for PlainText
impl Unpin for PlainText
impl UnwindSafe for PlainText
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more