Struct google_mirror1::Notification
[−]
[src]
pub struct Notification { pub item_id: Option<String>, pub verify_token: Option<String>, pub user_actions: Option<Vec<UserAction>>, pub user_token: Option<String>, pub operation: Option<String>, pub collection: Option<String>, }
A notification delivered by the API.
This type is not used in any activity, and only used as part of another schema.
Fields
item_id: Option<String>
The ID of the item that generated the notification.
verify_token: Option<String>
The secret verify token provided by the service when it subscribed for notifications.
user_actions: Option<Vec<UserAction>>
A list of actions taken by the user that triggered the notification.
user_token: Option<String>
The user token provided by the service when it subscribed for notifications.
operation: Option<String>
The type of operation that generated the notification.
collection: Option<String>
The collection that generated the notification.
Trait Implementations
impl Default for Notification
[src]
fn default() -> Notification
[src]
Returns the "default value" for a type. Read more
impl Clone for Notification
[src]
fn clone(&self) -> Notification
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more