pub fn to_text_lossy(&self) -> TextArticle {
        let headers = self.headers.clone();

        let body = self
            .unterminated()
            .map(String::from_utf8_lossy)
            .map(|cow| cow.to_string())
            .collect::<Vec<String>>();

        let number = self.number;
        let message_id = self.message_id.clone();
        TextArticle {
            number,
            message_id,
            headers,
            body,
        }
    }
/// Convert the article into a [`TextArticle`] including invalid characters.
///
/// This function is analogous to calling is [`String::from_utf8_lossy`] on every line in the body
Convert the article into a [`TextArticle`] including invalid characters.
This function is analogous to calling is [`String::from_utf8_lossy`] on every line in the body
Convert the article into a [ ` TextArticle ` ] including invalid characters . This function is analogous to calling is [ ` String :: from_utf8_lossy ` ] on every line in the body
pub fn to_text_lossy(&self) -> TextArticle {
        let headers = self.headers.clone();
        let body = self
            .unterminated()
            .map(String::from_utf8_lossy)
            .map(|cow| cow.to_string())
            .collect::<Vec<String>>();
        let number = self.number;
        let message_id = self.message_id.clone();
        TextArticle {
            number,
            message_id,
            headers,
            body,
        }
    }
pub fn to_text_lossy ( & self ) -> TextArticle { let headers = self . headers . clone ( ) ; let body = self . unterminated ( ) . map ( String :: from_utf8_lossy ) . map ( | cow | cow . to_string ( ) ) . collect :: < Vec < String > > ( ) ; let number = self . number ; let message_id = self . message_id . clone ( ) ; TextArticle { number , message_id , headers , body , } }
Convert the article into a [`TextArticle`] including invalid characters.
Convert the article into a [ ` TextArticle ` ] including invalid characters .
&self