[][src]Struct google_drive2::PermissionPermissionDetails

pub struct PermissionPermissionDetails {
    pub inherited: Option<bool>,
    pub 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 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>

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

permission_type: Option<String>

The 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
  • fileOrganizer
  • writer
  • reader
additional_roles: Option<Vec<String>>

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

inherited_from: Option<String>

The ID of the item from which this permission is inherited. This is an output-only field.

Trait Implementations

impl Clone for PermissionPermissionDetails[src]

impl Debug for PermissionPermissionDetails[src]

impl Default for PermissionPermissionDetails[src]

impl<'de> Deserialize<'de> for PermissionPermissionDetails[src]

impl NestedType for PermissionPermissionDetails[src]

impl Part for PermissionPermissionDetails[src]

impl Serialize for PermissionPermissionDetails[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any