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]
impl Default for Notification
fn default() -> Notification
[src]
fn default() -> Notification
Returns the "default value" for a type. Read more
impl Clone for Notification
[src]
impl Clone for Notification
fn clone(&self) -> Notification
[src]
fn clone(&self) -> Notification
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Notification
[src]
impl Debug for Notification
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 Part for Notification
[src]
impl Part for Notification
Auto Trait Implementations
impl Send for Notification
impl Send for Notification
impl Sync for Notification
impl Sync for Notification