pub(crate) trait FormattedBodyExt {
// Required method
fn clean_string(&mut self);
}Expand description
Extension trait for Option<FormattedBody>.
Required Methods§
Sourcefn clean_string(&mut self)
fn clean_string(&mut self)
Clean the body in the FormattedBody.
Replaces it with None if the body is empty after being cleaned.