Struct google_androidenterprise1::Permission[][src]

pub struct Permission {
    pub permission_id: Option<String>,
    pub description: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,

A Permissions resource represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created.

The permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the MDM user interface when obtaining consent from the enterprise.


This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).


An opaque string uniquely identifying the permission.

A longer description of the Permissions resource, giving more details of what it affects.

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#permission".

The name of the permission.

Trait Implementations

impl Default for Permission

Returns the "default value" for a type. Read more

impl Clone for Permission

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Permission

Formats the value using the given formatter. Read more

impl Resource for Permission

impl ResponseResult for Permission

Auto Trait Implementations

impl Send for Permission

impl Sync for Permission