[][src]Struct google_admin1_directory::Role

pub struct Role {
    pub kind: Option<String>,
    pub role_id: Option<String>,
    pub role_description: Option<String>,
    pub etag: Option<String>,
    pub is_super_admin_role: Option<bool>,
    pub role_name: Option<String>,
    pub is_system_role: Option<bool>,
    pub role_privileges: Option<Vec<RoleRolePrivileges>>,
}

JSON template for role resource in Directory API.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

kind: Option<String>

The type of the API resource. This is always admin#directory#role.

role_id: Option<String>

ID of the role.

role_description: Option<String>

A short description of the role.

etag: Option<String>

ETag of the resource.

is_super_admin_role: Option<bool>

Returns true if the role is a super admin role.

role_name: Option<String>

Name of the role.

is_system_role: Option<bool>

Returns true if this is a pre-defined system role.

role_privileges: Option<Vec<RoleRolePrivileges>>

The set of privileges that are granted to this role.

Trait Implementations

impl Clone for Role[src]

impl Debug for Role[src]

impl Default for Role[src]

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

impl RequestValue for Role[src]

impl Resource for Role[src]

impl ResponseResult for Role[src]

impl Serialize for Role[src]

Auto Trait Implementations

impl RefUnwindSafe for Role

impl Send for Role

impl Sync for Role

impl Unpin for Role

impl UnwindSafe for Role

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