Skip to main content

data_for_seo/entity/backlinks/
domain_pages.rs

1use crate::entity::BacklinksApiElementBacklinksDomainPage;
2use serde::{Deserialize, Serialize};
3
4/// Result of the Domain Pages endpoint: pages of a domain that have backlinks.
5/// See <https://docs.dataforseo.com/v3/backlinks/domain_pages/live/>.
6#[derive(Debug, Default, Serialize, Deserialize, Clone)]
7pub struct BacklinksApiDomainPages {
8    /// Target the metrics refer to (domain, subdomain, or webpage).
9    pub target: Option<String>,
10    /// Total number of relevant elements in the database.
11    pub total_count: Option<i64>,
12    /// Number of elements in the `items` array.
13    pub items_count: Option<i64>,
14    /// Elements returned for this result.
15    pub items: Option<Vec<BacklinksApiElementBacklinksDomainPage>>,
16}