Struct google_mirror1::api::Notification [−][src]
pub struct Notification {
pub collection: Option<String>,
pub item_id: Option<String>,
pub operation: Option<String>,
pub user_actions: Option<Vec<UserAction>>,
pub user_token: Option<String>,
pub verify_token: Option<String>,
}
Expand description
A notification delivered by the API.
This type is not used in any activity, and only used as part of another schema.
Fields
collection: Option<String>
The collection that generated the notification.
item_id: Option<String>
The ID of the item that generated the notification.
operation: Option<String>
The type of operation that generated the notification.
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.
verify_token: Option<String>
The secret verify token provided by the service when it subscribed for notifications.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more