data-for-seo 0.3.0

Client library for the DataForSEO API v3 (SERP, Keywords Data, Labs, Backlinks, OnPage, and more)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::entity::ContentAnalysisApiSummary;
use serde::{Deserialize, Serialize};

/// Result of `content_analysis/category_trends/live`: citation metrics for a
/// category on a single date within the requested range.
/// See <https://docs.dataforseo.com/v3/content_analysis/category_trends/live/>.
#[derive(Debug, Default, Serialize, Deserialize, Clone)]
pub struct ContentAnalysisApiCategoryTrends {
    /// Date the metrics cover.
    pub date: Option<String>,
    /// Citation metrics for the category on this date.
    #[serde(flatten)]
    pub metrics: ContentAnalysisApiSummary,
}