Skip to main content

extract_text

Function extract_text 

Source
pub fn extract_text(content: &Content) -> String
Expand description

Extract all text parts from a Content into a single string.

Parts are joined with a single space. Non-text parts (images, function calls, etc.) are silently skipped.