Struct google_drive2::PermissionTeamDrivePermissionDetails[][src]

pub struct PermissionTeamDrivePermissionDetails {
    pub inherited: Option<bool>,
    pub team_drive_permission_type: Option<String>,
    pub role: Option<String>,
    pub additional_roles: Option<Vec<String>>,
    pub inherited_from: Option<String>,
}

Details of whether the permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.

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

Fields

Whether this permission is inherited. This field is always populated. This is an output-only field.

The Team Drive permission type for this user. While new values may be added in future, the following are currently possible:

  • file
  • member

The primary role for this user. While new values may be added in the future, the following are currently possible:

  • organizer
  • fileOrganizer
  • writer
  • reader

Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.

The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the Team Drive.

Trait Implementations

impl Default for PermissionTeamDrivePermissionDetails
[src]

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

impl Clone for PermissionTeamDrivePermissionDetails
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PermissionTeamDrivePermissionDetails
[src]

Formats the value using the given formatter. Read more

impl NestedType for PermissionTeamDrivePermissionDetails
[src]

impl Part for PermissionTeamDrivePermissionDetails
[src]

Auto Trait Implementations