Struct google_drive3::api::PermissionPermissionDetails
source · pub struct PermissionPermissionDetails {
pub inherited: Option<bool>,
pub inherited_from: Option<String>,
pub permission_type: Option<String>,
pub role: Option<String>,
}
Expand description
Output only. Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
This type is not used in any activity, and only used as part of another schema.
Fields§
§inherited: Option<bool>
Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
inherited_from: Option<String>
Output only. The ID of the item from which this permission is inherited. This is an output-only field.
permission_type: Option<String>
Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * file
* member
role: Option<String>
Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * organizer
* fileOrganizer
* writer
* commenter
* reader
Trait Implementations§
source§impl Clone for PermissionPermissionDetails
impl Clone for PermissionPermissionDetails
source§fn clone(&self) -> PermissionPermissionDetails
fn clone(&self) -> PermissionPermissionDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more