Struct google_admin1_directory::Role [] [src]

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

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

ID of the role.

A short description of the role.

ETag of the resource.

Returns true if the role is a super admin role.

Name of the role.

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

The set of privileges that are granted to this role.

Trait Implementations

impl Default for Role
[src]

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

impl Clone for Role
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Role
[src]

Formats the value using the given formatter.

impl RequestValue for Role
[src]

impl Resource for Role
[src]

impl ResponseResult for Role
[src]