pub struct UrlNotificationsApi {}
Expand description
urlNotifications API
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<ResponseGoogleIndexingBatch>, 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 Freeze for UrlNotificationsApi
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