pub struct IndexStatusInspectionResult {
pub coverage_state: Option<String>,
pub crawled_as: Option<String>,
pub google_canonical: Option<String>,
pub indexing_state: Option<String>,
pub last_crawl_time: Option<DateTime<Utc>>,
pub page_fetch_state: Option<String>,
pub referring_urls: Option<Vec<String>>,
pub robots_txt_state: Option<String>,
pub sitemap: Option<Vec<String>>,
pub user_canonical: Option<String>,
pub verdict: Option<String>,
}
Expand description
Results of index status inspection for either the live page or the version in Google’s index, depending on whether you requested a live inspection or not. For more information, see the Index coverage report documentation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§coverage_state: Option<String>
Could Google find and index the page. More details about page indexing appear in ‘indexing_state’.
crawled_as: Option<String>
Primary crawler that was used by Google to crawl your site.
google_canonical: Option<String>
The URL of the page that Google selected as canonical. If the page was not indexed, this field is absent.
indexing_state: Option<String>
Whether or not the page blocks indexing through a noindex rule.
last_crawl_time: Option<DateTime<Utc>>
Last time this URL was crawled by Google using the primary crawler. Absent if the URL was never crawled successfully.
page_fetch_state: Option<String>
Whether or not Google could retrieve the page from your server. Equivalent to “page fetch” in the URL inspection report.
referring_urls: Option<Vec<String>>
URLs that link to the inspected URL, directly and indirectly.
robots_txt_state: Option<String>
Whether or not the page is blocked to Google by a robots.txt rule.
sitemap: Option<Vec<String>>
Any sitemaps that this URL was listed in, as known by Google. Not guaranteed to be an exhaustive list, especially if Google did not discover this URL through a sitemap. Absent if no sitemaps were found.
user_canonical: Option<String>
The URL that your page or site declares as canonical. If you did not declare a canonical URL, this field is absent.
verdict: Option<String>
High level verdict about whether the URL is indexed (indexed status), or can be indexed (live inspection).
Trait Implementations§
Source§impl Clone for IndexStatusInspectionResult
impl Clone for IndexStatusInspectionResult
Source§fn clone(&self) -> IndexStatusInspectionResult
fn clone(&self) -> IndexStatusInspectionResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for IndexStatusInspectionResult
impl Debug for IndexStatusInspectionResult
Source§impl Default for IndexStatusInspectionResult
impl Default for IndexStatusInspectionResult
Source§fn default() -> IndexStatusInspectionResult
fn default() -> IndexStatusInspectionResult
Source§impl<'de> Deserialize<'de> for IndexStatusInspectionResult
impl<'de> Deserialize<'de> for IndexStatusInspectionResult
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>,
impl Part for IndexStatusInspectionResult
Auto Trait Implementations§
impl Freeze for IndexStatusInspectionResult
impl RefUnwindSafe for IndexStatusInspectionResult
impl Send for IndexStatusInspectionResult
impl Sync for IndexStatusInspectionResult
impl Unpin for IndexStatusInspectionResult
impl UnwindSafe for IndexStatusInspectionResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more