pub struct SitemapsApi;Expand description
Implementations§
Source§impl SitemapsApi
impl SitemapsApi
Sourcepub async fn delete(
&self,
token: &str,
site_url: &str,
feed_path: &str,
) -> Result<Value, GoogleApiError>
pub async fn delete( &self, token: &str, site_url: &str, feed_path: &str, ) -> Result<Value, GoogleApiError>
Delete a sitemap.
§Arguments
token- OAuth2 access tokensite_url- Site URLfeed_path- Full URL of the sitemap to delete
Sourcepub async fn get(
&self,
token: &str,
site_url: &str,
feed: &str,
) -> Result<Value, GoogleApiError>
pub async fn get( &self, token: &str, site_url: &str, feed: &str, ) -> Result<Value, GoogleApiError>
Get information about a specific sitemap.
§Arguments
token- OAuth2 access tokensite_url- Site URLfeed- Full URL of the sitemap
Sourcepub async fn list(
&self,
token: &str,
site_url: &str,
) -> Result<ResponseSitemapApiList, GoogleApiError>
pub async fn list( &self, token: &str, site_url: &str, ) -> Result<ResponseSitemapApiList, GoogleApiError>
Trait Implementations§
Source§impl Default for SitemapsApi
impl Default for SitemapsApi
Source§fn default() -> SitemapsApi
fn default() -> SitemapsApi
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SitemapsApi
impl RefUnwindSafe for SitemapsApi
impl Send for SitemapsApi
impl Sync for SitemapsApi
impl Unpin for SitemapsApi
impl UnsafeUnpin for SitemapsApi
impl UnwindSafe for SitemapsApi
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