pub struct ContentGenerationApiTextSummary {Show 15 fields
pub sentences: Option<i64>,
pub paragraphs: Option<i64>,
pub words: Option<i64>,
pub characters_without_spaces: Option<i64>,
pub characters_with_spaces: Option<i64>,
pub words_per_sentence: Option<f64>,
pub characters_per_word: Option<f64>,
pub vocabulary_density: Option<f64>,
pub keyword_density: Option<HashMap<String, i64>>,
pub automated_readability_index: Option<f64>,
pub coleman_liau_index: Option<f64>,
pub flesch_kincaid_grade_level: Option<f64>,
pub smog_readability_index: Option<f64>,
pub spelling_errors: Option<i64>,
pub grammar_errors: Option<i64>,
}Expand description
Result of content_generation/text_summary/live: structural and readability
statistics for the target text.
See https://docs.dataforseo.com/v3/content_generation/text_summary/live/.
Fields§
§sentences: Option<i64>Number of sentences in the text.
paragraphs: Option<i64>Number of paragraphs in the text.
words: Option<i64>Number of words in the text.
characters_without_spaces: Option<i64>Number of characters excluding spaces.
characters_with_spaces: Option<i64>Number of characters including spaces.
words_per_sentence: Option<f64>Average number of words per sentence.
characters_per_word: Option<f64>Average number of characters per word.
vocabulary_density: Option<f64>Vocabulary density of the text.
keyword_density: Option<HashMap<String, i64>>Most common words mapped to their occurrence count.
automated_readability_index: Option<f64>Automated Readability Index.
coleman_liau_index: Option<f64>Coleman–Liau Index.
flesch_kincaid_grade_level: Option<f64>Flesch–Kincaid grade level.
smog_readability_index: Option<f64>SMOG readability index.
spelling_errors: Option<i64>Number of spelling errors found.
grammar_errors: Option<i64>Number of grammar errors found.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContentGenerationApiTextSummary
impl<'de> Deserialize<'de> for ContentGenerationApiTextSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContentGenerationApiTextSummary
impl RefUnwindSafe for ContentGenerationApiTextSummary
impl Send for ContentGenerationApiTextSummary
impl Sync for ContentGenerationApiTextSummary
impl Unpin for ContentGenerationApiTextSummary
impl UnsafeUnpin for ContentGenerationApiTextSummary
impl UnwindSafe for ContentGenerationApiTextSummary
Blanket Implementations§
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