pub struct ContentGenerationApiGenerateSubTopics {
pub input_tokens: Option<i64>,
pub output_tokens: Option<i64>,
pub new_tokens: Option<i64>,
pub sub_topics: Option<Vec<String>>,
}Expand description
Result of content_generation/generate_sub_topics/live: subtopics for a topic.
See https://docs.dataforseo.com/v3/content_generation/generate_sub_topics/live/.
Fields§
§input_tokens: Option<i64>Number of input tokens.
output_tokens: Option<i64>Number of output tokens.
new_tokens: Option<i64>Number of newly generated tokens.
sub_topics: Option<Vec<String>>Resulting subtopics.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContentGenerationApiGenerateSubTopics
impl<'de> Deserialize<'de> for ContentGenerationApiGenerateSubTopics
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 ContentGenerationApiGenerateSubTopics
impl RefUnwindSafe for ContentGenerationApiGenerateSubTopics
impl Send for ContentGenerationApiGenerateSubTopics
impl Sync for ContentGenerationApiGenerateSubTopics
impl Unpin for ContentGenerationApiGenerateSubTopics
impl UnsafeUnpin for ContentGenerationApiGenerateSubTopics
impl UnwindSafe for ContentGenerationApiGenerateSubTopics
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