Skip to main content

OnPageResourceHtmlWebsiteChecks

Struct OnPageResourceHtmlWebsiteChecks 

Source
pub struct OnPageResourceHtmlWebsiteChecks {
Show 57 fields pub no_content_encoding: Option<bool>, pub high_loading_time: Option<bool>, pub is_redirect: Option<bool>, pub is_4xx_code: Option<bool>, pub is_5xx_code: Option<bool>, pub is_broken: Option<bool>, pub is_www: Option<bool>, pub is_https: Option<bool>, pub is_http: Option<bool>, pub high_waiting_time: Option<bool>, pub no_doctype: Option<bool>, pub canonical: Option<bool>, pub no_encoding_meta_tag: Option<bool>, pub no_h1_tag: Option<bool>, pub https_to_http_links: Option<bool>, pub has_html_doctype: Option<bool>, pub size_greater_than_3mb: Option<bool>, pub meta_charset_consistency: Option<bool>, pub has_meta_refresh_redirect: Option<bool>, pub has_render_blocking_resources: Option<bool>, pub redirect_chain: Option<bool>, pub low_content_rate: Option<bool>, pub high_content_rate: Option<bool>, pub low_character_count: Option<bool>, pub high_character_count: Option<bool>, pub small_page_size: Option<bool>, pub large_page_size: Option<bool>, pub low_readability_rate: Option<bool>, pub irrelevant_description: Option<bool>, pub irrelevant_title: Option<bool>, pub irrelevant_meta_keywords: Option<bool>, pub title_too_long: Option<bool>, pub title_too_short: Option<bool>, pub deprecated_html_tags: Option<bool>, pub duplicate_meta_tags: Option<bool>, pub duplicate_title_tag: Option<bool>, pub no_image_alt: Option<bool>, pub no_image_title: Option<bool>, pub no_description: Option<bool>, pub no_title: Option<bool>, pub no_favicon: Option<bool>, pub seo_friendly_url: Option<bool>, pub flash: Option<bool>, pub frame: Option<bool>, pub lorem_ipsum: Option<bool>, pub has_misspelling: Option<bool>, pub seo_friendly_url_characters_check: Option<bool>, pub seo_friendly_url_dynamic_check: Option<bool>, pub seo_friendly_url_keywords_check: Option<bool>, pub seo_friendly_url_relative_length_check: Option<bool>, pub is_orphan_page: Option<bool>, pub is_link_relation_conflict: Option<bool>, pub has_links_to_redirects: Option<bool>, pub canonical_chain: Option<bool>, pub canonical_to_redirect: Option<bool>, pub canonical_to_broken: Option<bool>, pub recursive_canonical: Option<bool>,
}
Expand description

Result of the on-page SEO checks for a crawled page. See https://docs.dataforseo.com/v3/on_page/pages/.

Fields§

§no_content_encoding: Option<bool>

True when the page has no content encoding (no compression).

§high_loading_time: Option<bool>

True when the page loading time exceeds 3 seconds.

§is_redirect: Option<bool>

True when the page returns a 3xx redirect status code.

§is_4xx_code: Option<bool>

True when the page returns a 4xx status code.

§is_5xx_code: Option<bool>

True when the page returns a 5xx status code.

§is_broken: Option<bool>

True when the page is broken (status code below 200 or above 400).

§is_www: Option<bool>

True when the page exists on the www subdomain.

§is_https: Option<bool>

True when the page uses the HTTPS protocol.

§is_http: Option<bool>

True when the page uses the HTTP protocol.

§high_waiting_time: Option<bool>

True when the time to first byte exceeds 1.5 seconds.

§no_doctype: Option<bool>

True when the page has no <!DOCTYPE> declaration.

§canonical: Option<bool>

True when the page is the canonical version.

§no_encoding_meta_tag: Option<bool>

True when the page has no charset encoding meta tag.

§no_h1_tag: Option<bool>

True when the page has empty or absent h1 tags.

§https_to_http_links: Option<bool>

True when an HTTPS page links to HTTP pages.

§has_html_doctype: Option<bool>

True when the page declares an HTML doctype.

§size_greater_than_3mb: Option<bool>

True when the page size is larger than 3 MB.

§meta_charset_consistency: Option<bool>

True when the declared charset and the page charset are consistent.

§has_meta_refresh_redirect: Option<bool>

True when the page uses a meta http-equiv refresh redirect.

§has_render_blocking_resources: Option<bool>

True when the page has render-blocking resources.

§redirect_chain: Option<bool>

True when the page has a chain of at least two redirects.

§low_content_rate: Option<bool>

True when the plain-text-to-size ratio is below 0.1.

§high_content_rate: Option<bool>

True when the plain-text-to-size ratio is above 0.9.

§low_character_count: Option<bool>

True when the page has fewer than 1024 characters.

§high_character_count: Option<bool>

True when the page has more than 256,000 characters.

§small_page_size: Option<bool>

True when the page is smaller than 1024 bytes.

§large_page_size: Option<bool>

True when the page is larger than 1 MB.

§low_readability_rate: Option<bool>

True when the Flesch–Kincaid readability score is below 15.

§irrelevant_description: Option<bool>

True when the meta description is irrelevant to the page content.

§irrelevant_title: Option<bool>

True when the title is irrelevant to the page content.

§irrelevant_meta_keywords: Option<bool>

True when the meta keywords are irrelevant to the page content.

§title_too_long: Option<bool>

True when the title exceeds 65 characters.

§title_too_short: Option<bool>

True when the title is shorter than 30 characters.

§deprecated_html_tags: Option<bool>

True when the page contains deprecated HTML tags.

§duplicate_meta_tags: Option<bool>

True when the page has duplicate meta tags.

§duplicate_title_tag: Option<bool>

True when the page has more than one title tag.

§no_image_alt: Option<bool>

True when the page has images without alt attributes.

§no_image_title: Option<bool>

True when the page has images without title attributes.

§no_description: Option<bool>

True when the page has an empty or absent meta description.

§no_title: Option<bool>

True when the page has an empty or absent title tag.

§no_favicon: Option<bool>

True when the page has no favicon.

§seo_friendly_url: Option<bool>

True when the URL is SEO-friendly.

§flash: Option<bool>

True when the page contains Flash elements.

§frame: Option<bool>

True when the page contains frame, iframe, or frameset tags.

§lorem_ipsum: Option<bool>

True when the page contains lorem ipsum placeholder text.

§has_misspelling: Option<bool>

True when the page contains spelling errors.

§seo_friendly_url_characters_check: Option<bool>

True when the URL contains only Latin characters, digits, and dashes.

§seo_friendly_url_dynamic_check: Option<bool>

True when the URL is free of dynamic parameters.

§seo_friendly_url_keywords_check: Option<bool>

True when the URL is consistent with the title tag.

§seo_friendly_url_relative_length_check: Option<bool>

True when the URL length is 120 characters or fewer.

§is_orphan_page: Option<bool>

True when no internal links point to the page (orphan page).

§is_link_relation_conflict: Option<bool>

True when the page has both followed and nofollowed incoming internal links.

§has_links_to_redirects: Option<bool>

True when the page links to pages that redirect elsewhere.

§canonical_chain: Option<bool>

True when the canonical points to another canonical page (chain).

§canonical_to_redirect: Option<bool>

True when the canonical points to a page that redirects elsewhere.

§canonical_to_broken: Option<bool>

True when the canonical points to a broken page.

§recursive_canonical: Option<bool>

True when the page canonicalizes back to itself (recursive canonical).

Trait Implementations§

Source§

impl Clone for OnPageResourceHtmlWebsiteChecks

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OnPageResourceHtmlWebsiteChecks

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for OnPageResourceHtmlWebsiteChecks

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for OnPageResourceHtmlWebsiteChecks

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more