pub struct BacklinksApiCompetitorsPost {
pub target: String,
pub limit: Option<i32>,
pub offset: Option<i32>,
pub filters: Option<Vec<Value>>,
pub order_by: Option<Vec<String>>,
pub main_domain: Option<bool>,
pub exclude_large_domains: Option<bool>,
pub exclude_internal_backlinks: Option<bool>,
pub rank_scale: Option<String>,
pub tag: Option<String>,
}Expand description
Request for the Competitors endpoint.
Fields§
§target: StringTarget the metrics refer to (domain, subdomain, or webpage).
limit: Option<i32>Maximum number of returned elements.
offset: Option<i32>Offset into the result set for pagination.
filters: Option<Vec<Value>>Result filtering conditions (max 8).
order_by: Option<Vec<String>>Sorting rules, e.g. ["rank,desc"] (max 3).
main_domain: Option<bool>Whether to consider only the main domain.
exclude_large_domains: Option<bool>Whether to omit very large domains (e.g. google.com).
exclude_internal_backlinks: Option<bool>Whether to exclude backlinks from the target’s own subdomains.
rank_scale: Option<String>Scale for rank values: one_hundred (0-100) or one_thousand (0-1000).
tag: Option<String>User-defined task identifier (max 255 characters).
Implementations§
Source§impl BacklinksApiCompetitorsPost
impl BacklinksApiCompetitorsPost
Sourcepub fn new(target: &str) -> BacklinksApiCompetitorsPost
pub fn new(target: &str) -> BacklinksApiCompetitorsPost
Builds a request for the given target.
Trait Implementations§
Source§impl Clone for BacklinksApiCompetitorsPost
impl Clone for BacklinksApiCompetitorsPost
Source§impl Debug for BacklinksApiCompetitorsPost
impl Debug for BacklinksApiCompetitorsPost
Source§impl<'de> Deserialize<'de> for BacklinksApiCompetitorsPost
impl<'de> Deserialize<'de> for BacklinksApiCompetitorsPost
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 BacklinksApiCompetitorsPost
impl RefUnwindSafe for BacklinksApiCompetitorsPost
impl Send for BacklinksApiCompetitorsPost
impl Sync for BacklinksApiCompetitorsPost
impl Unpin for BacklinksApiCompetitorsPost
impl UnsafeUnpin for BacklinksApiCompetitorsPost
impl UnwindSafe for BacklinksApiCompetitorsPost
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