Struct google_indexing_api::UrlNotificationsApi
source · pub struct UrlNotificationsApi {}
Expand description
https://developers.google.com/webmaster-tools/v1/searchanalytics
Implementations§
source§impl UrlNotificationsApi
impl UrlNotificationsApi
pub async fn publish( &self, token: &str, url: &str, url_type: UrlNotificationsType ) -> Result<Value, GoogleApiError>
pub async fn get_metadata( &self, token: &str, url: &str ) -> Result<ResponseUrlNotificationMetadata, GoogleApiError>
pub async fn batch( &self, token: &str, urls: Vec<String>, url_type: UrlNotificationsType ) -> Result<Vec<GoogleIndexingBatch>, GoogleApiError>
Trait Implementations§
source§impl Default for UrlNotificationsApi
impl Default for UrlNotificationsApi
source§fn default() -> UrlNotificationsApi
fn default() -> UrlNotificationsApi
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UrlNotificationsApi
impl Send for UrlNotificationsApi
impl Sync for UrlNotificationsApi
impl Unpin for UrlNotificationsApi
impl UnwindSafe for UrlNotificationsApi
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