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).
- list privileges (none)
Fields
kind: Option<String>
The type of the API resource. This is always admin#directory#privilege.
service_id: Option<String>
The obfuscated ID of the service this privilege is for.
privilege_name: Option<String>
The name of the privilege.
etag: Option<String>
ETag of the resource.
service_name: Option<String>
The name of the service this privilege is for.
child_privileges: Option<Vec<Privilege>>
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.
is_ou_scopable: Option<bool>
If the privilege can be restricted to an organization unit.
Trait Implementations
impl Default for Privilege
[src]
impl Default for Privilege
impl Clone for Privilege
[src]
impl Clone for Privilege
fn clone(&self) -> Privilege
[src]
fn clone(&self) -> Privilege
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Privilege
[src]
impl Debug for Privilege
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Resource for Privilege
[src]
impl Resource for Privilege