pub struct UrlInspectionApi;Expand description
URL Inspection API client.
Inspect URLs for indexing status and other information.
§API Reference
https://developers.google.com/webmaster-tools/v1/urlInspection.index
Implementations§
Source§impl UrlInspectionApi
impl UrlInspectionApi
Sourcepub async fn inspect(
&self,
token: &str,
request: &RequestUrlInspection,
) -> Result<ResponseInspectionResult, GoogleApiError>
pub async fn inspect( &self, token: &str, request: &RequestUrlInspection, ) -> Result<ResponseInspectionResult, GoogleApiError>
Inspect a URL.
Returns indexing status, crawl info, AMP status, mobile usability, and rich results.
§Arguments
token- OAuth2 access tokenrequest- Inspection request parameters
Trait Implementations§
Source§impl Default for UrlInspectionApi
impl Default for UrlInspectionApi
Source§fn default() -> UrlInspectionApi
fn default() -> UrlInspectionApi
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UrlInspectionApi
impl RefUnwindSafe for UrlInspectionApi
impl Send for UrlInspectionApi
impl Sync for UrlInspectionApi
impl Unpin for UrlInspectionApi
impl UnsafeUnpin for UrlInspectionApi
impl UnwindSafe for UrlInspectionApi
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