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
15
16
17
18
use crate::entity::ContentAnalysisApiSummary;
use serde::{Deserialize, Serialize};

/// Result of `content_analysis/rating_distribution/live`: citation metrics for
/// a bucket of the content-rating scale.
/// See <https://docs.dataforseo.com/v3/content_analysis/rating_distribution/live/>.
#[derive(Debug, Default, Serialize, Deserialize, Clone)]
pub struct ContentAnalysisApiRatingDistribution {
    /// Element type.
    #[serde(rename = "type")]
    pub element_type: Option<String>,
    /// Minimum rating of this bucket on the distribution scale.
    pub min: Option<f64>,
    /// Maximum rating of this bucket on the distribution scale.
    pub max: Option<f64>,
    /// Citation metrics for this rating bucket.
    pub metrics: Option<ContentAnalysisApiSummary>,
}