Struct google_androidenterprise1::NewPermissionsEvent [−][src]
pub struct NewPermissionsEvent { pub approved_permissions: Option<Vec<String>>, pub requested_permissions: Option<Vec<String>>, pub product_id: Option<String>, }
An event generated when new permissions are added to an app.
This type is not used in any activity, and only used as part of another schema.
Fields
approved_permissions: Option<Vec<String>>
The set of permissions that the enterprise admin has already approved for this application. Use Permissions.Get on the EMM API to retrieve details about these permissions.
requested_permissions: Option<Vec<String>>
The set of permissions that the app is currently requesting. Use Permissions.Get on the EMM API to retrieve details about these permissions.
product_id: Option<String>
The id of the product (e.g. "app:com.google.android.gm") for which new permissions were added. This field will always be present.
Trait Implementations
impl Default for NewPermissionsEvent
[src]
impl Default for NewPermissionsEvent
fn default() -> NewPermissionsEvent
[src]
fn default() -> NewPermissionsEvent
Returns the "default value" for a type. Read more
impl Clone for NewPermissionsEvent
[src]
impl Clone for NewPermissionsEvent
fn clone(&self) -> NewPermissionsEvent
[src]
fn clone(&self) -> NewPermissionsEvent
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 NewPermissionsEvent
[src]
impl Debug for NewPermissionsEvent
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 NewPermissionsEvent
[src]
impl Part for NewPermissionsEvent
Auto Trait Implementations
impl Send for NewPermissionsEvent
impl Send for NewPermissionsEvent
impl Sync for NewPermissionsEvent
impl Sync for NewPermissionsEvent