hanzo-client 8.5.156

Generated client for the Hanzo API — every service, one crate.
Documentation
/*
 * Hanzo Cloud API
 *
 * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SeoDomain {
    /// Domain is the competitor.
    #[serde(rename = "domain", skip_serializing_if = "Option::is_none")]
    pub domain: Option<String>,
    /// Keywords is how many of the phrases it places for.
    #[serde(rename = "keywords", skip_serializing_if = "Option::is_none")]
    pub keywords: Option<i32>,
    /// Position is its average rank across the phrases.
    #[serde(rename = "position", skip_serializing_if = "Option::is_none")]
    pub position: Option<f64>,
    /// Traffic is the estimated monthly visits those placements earn.
    #[serde(rename = "traffic", skip_serializing_if = "Option::is_none")]
    pub traffic: Option<f64>,
    /// Visibility is its share of the possible attention across those phrases.
    #[serde(rename = "visibility", skip_serializing_if = "Option::is_none")]
    pub visibility: Option<f64>,
}

impl SeoDomain {
    pub fn new() -> SeoDomain {
        SeoDomain {
            domain: None,
            keywords: None,
            position: None,
            traffic: None,
            visibility: None,
        }
    }
}