Struct google_drive3_fork::PermissionTeamDrivePermissionDetails [−][src]
pub struct PermissionTeamDrivePermissionDetails { pub inherited: Option<bool>, pub team_drive_permission_type: Option<String>, pub role: Option<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
inherited: Option<bool>
Whether this permission is inherited. This field is always populated. This is an output-only field.
team_drive_permission_type: Option<String>
The Team Drive permission type for this user. While new values may be added in future, the following are currently possible:
- file
- member
role: Option<String>
The primary role for this user. While new values may be added in the future, the following are currently possible:
- organizer
- writer
- commenter
- reader
inherited_from: Option<String>
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]
impl Default for PermissionTeamDrivePermissionDetails
fn default() -> PermissionTeamDrivePermissionDetails
[src]
fn default() -> PermissionTeamDrivePermissionDetails
Returns the "default value" for a type. Read more
impl Clone for PermissionTeamDrivePermissionDetails
[src]
impl Clone for PermissionTeamDrivePermissionDetails
fn clone(&self) -> PermissionTeamDrivePermissionDetails
[src]
fn clone(&self) -> PermissionTeamDrivePermissionDetails
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 PermissionTeamDrivePermissionDetails
[src]
impl Debug for PermissionTeamDrivePermissionDetails
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 NestedType for PermissionTeamDrivePermissionDetails
[src]
impl NestedType for PermissionTeamDrivePermissionDetails
impl Part for PermissionTeamDrivePermissionDetails
[src]
impl Part for PermissionTeamDrivePermissionDetails
Auto Trait Implementations
impl Send for PermissionTeamDrivePermissionDetails
impl Send for PermissionTeamDrivePermissionDetails
impl Sync for PermissionTeamDrivePermissionDetails
impl Sync for PermissionTeamDrivePermissionDetails