Struct google_appsactivity1::Permission [] [src]

pub struct Permission {
    pub with_link: Option<bool>,
    pub permission_id: Option<String>,
    pub role: Option<String>,
    pub name: Option<String>,
    pub type_: Option<String>,
    pub user: Option<User>,
}

Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.

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

Fields

Whether the permission requires a link to the file.

The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource.

Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file.

The name of the user or group the permission applies to.

Indicates how widely permissions are granted.

The user's information if the type is USER.

Trait Implementations

impl Default for Permission
[src]

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

impl Clone for Permission
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Permission
[src]

Formats the value using the given formatter.

impl Part for Permission
[src]