[][src]Struct google_androidenterprise1::Notification

pub struct Notification {
    pub app_restrictions_schema_change_event: Option<AppRestrictionsSchemaChangeEvent>,
    pub new_permissions_event: Option<NewPermissionsEvent>,
    pub notification_type: Option<String>,
    pub device_report_update_event: Option<DeviceReportUpdateEvent>,
    pub install_failure_event: Option<InstallFailureEvent>,
    pub enterprise_id: Option<String>,
    pub product_availability_change_event: Option<ProductAvailabilityChangeEvent>,
    pub new_device_event: Option<NewDeviceEvent>,
    pub product_approval_event: Option<ProductApprovalEvent>,
    pub app_update_event: Option<AppUpdateEvent>,
    pub timestamp_millis: Option<String>,
}

A notification of one event relating to an enterprise.

This type is not used in any activity, and only used as part of another schema.

Fields

app_restrictions_schema_change_event: Option<AppRestrictionsSchemaChangeEvent>

Notifications about new app restrictions schema changes.

new_permissions_event: Option<NewPermissionsEvent>

Notifications about new app permissions.

notification_type: Option<String>

Type of the notification.

device_report_update_event: Option<DeviceReportUpdateEvent>

Notifications about device report updates.

install_failure_event: Option<InstallFailureEvent>

Notifications about an app installation failure.

enterprise_id: Option<String>

The ID of the enterprise for which the notification is sent. This will always be present.

product_availability_change_event: Option<ProductAvailabilityChangeEvent>

Notifications about product availability changes.

new_device_event: Option<NewDeviceEvent>

Notifications about new devices.

product_approval_event: Option<ProductApprovalEvent>

Notifications about changes to a product's approval status.

app_update_event: Option<AppUpdateEvent>

Notifications about app updates.

timestamp_millis: Option<String>

The time when the notification was published in milliseconds since 1970-01-01T00:00:00Z. This will always be present.

Trait Implementations

impl Part for Notification[src]

impl Clone for Notification[src]

impl Default for Notification[src]

impl Debug for Notification[src]

impl Serialize for Notification[src]

impl<'de> Deserialize<'de> for Notification[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]