Struct google_indexing3::UrlNotification [−][src]
pub struct UrlNotification { pub url: Option<String>, pub notify_time: Option<String>, pub type_: Option<String>, }
UrlNotification
is the resource used in all Indexing API calls.
It describes one event in the life cycle of a Web Document.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- publish url notifications (request)
- get metadata url notifications (none)
Fields
url: Option<String>
The object of this notification. The URL must be owned by the publisher
of this notification and, in case of URL_UPDATED
notifications, it must
be crawlable by Google.
notify_time: Option<String>
Creation timestamp for this notification. Users should not specify it, the field is ignored at the request time.
type_: Option<String>
The URL life cycle event that Google is being notified about.
Trait Implementations
impl Default for UrlNotification
[src]
impl Default for UrlNotification
fn default() -> UrlNotification
[src]
fn default() -> UrlNotification
Returns the "default value" for a type. Read more
impl Clone for UrlNotification
[src]
impl Clone for UrlNotification
fn clone(&self) -> UrlNotification
[src]
fn clone(&self) -> UrlNotification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for UrlNotification
[src]
impl Debug for UrlNotification
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for UrlNotification
[src]
impl RequestValue for UrlNotification
impl Resource for UrlNotification
[src]
impl Resource for UrlNotification
Auto Trait Implementations
impl Send for UrlNotification
impl Send for UrlNotification
impl Sync for UrlNotification
impl Sync for UrlNotification