pub struct ContentGenerationApiCheckGrammar {
pub input_tokens: Option<i64>,
pub output_tokens: Option<i64>,
pub new_tokens: Option<i64>,
pub initial_text: Option<String>,
pub language_code: Option<String>,
pub items_count: Option<i64>,
pub items: Option<Vec<ContentGenerationCheckGrammarItem>>,
}Expand description
Result of content_generation/check_grammar/live: grammar and spelling errors.
See https://docs.dataforseo.com/v3/content_generation/check_grammar/live/.
Fields§
§input_tokens: Option<i64>Number of input tokens in the POST request.
output_tokens: Option<i64>Number of output tokens in the response.
new_tokens: Option<i64>Number of new tokens in the response.
initial_text: Option<String>The text supplied in the POST request.
language_code: Option<String>Language code supplied in the POST request.
items_count: Option<i64>Number of errors returned in items.
items: Option<Vec<ContentGenerationCheckGrammarItem>>Grammar and spelling errors found in the text.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContentGenerationApiCheckGrammar
impl<'de> Deserialize<'de> for ContentGenerationApiCheckGrammar
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 ContentGenerationApiCheckGrammar
impl RefUnwindSafe for ContentGenerationApiCheckGrammar
impl Send for ContentGenerationApiCheckGrammar
impl Sync for ContentGenerationApiCheckGrammar
impl Unpin for ContentGenerationApiCheckGrammar
impl UnsafeUnpin for ContentGenerationApiCheckGrammar
impl UnwindSafe for ContentGenerationApiCheckGrammar
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