Struct google_admin1_directory::Privilege[][src]

pub struct Privilege {
    pub kind: Option<String>,
    pub service_id: Option<String>,
    pub privilege_name: Option<String>,
    pub etag: Option<String>,
    pub service_name: Option<String>,
    pub child_privileges: Option<Vec<Privilege>>,
    pub is_ou_scopable: Option<bool>,
}

JSON template for privilege 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#privilege.

The obfuscated ID of the service this privilege is for.

The name of the privilege.

ETag of the resource.

The name of the service this privilege is for.

A list of child privileges. Privileges for a service form a tree. Each privilege can have a list of child privileges; this list is empty for a leaf privilege.

If the privilege can be restricted to an organization unit.

Trait Implementations

impl Default for Privilege
[src]

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

impl Clone for Privilege
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Privilege
[src]

Formats the value using the given formatter. Read more

impl Resource for Privilege
[src]

Auto Trait Implementations

impl Send for Privilege

impl Sync for Privilege