Struct google_admin1_directory::RoleAssignment [−][src]
pub struct RoleAssignment { pub assigned_to: Option<String>, pub kind: Option<String>, pub etag: Option<String>, pub role_assignment_id: Option<String>, pub role_id: Option<String>, pub scope_type: Option<String>, pub org_unit_id: Option<String>, }
JSON template for roleAssignment 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).
- insert role assignments (request|response)
- list role assignments (none)
- delete role assignments (none)
- get role assignments (response)
Fields
assigned_to: Option<String>
The unique ID of the user this role is assigned to.
kind: Option<String>
The type of the API resource. This is always admin#directory#roleAssignment.
etag: Option<String>
ETag of the resource.
role_assignment_id: Option<String>
ID of this roleAssignment.
role_id: Option<String>
The ID of the role that is assigned.
scope_type: Option<String>
The scope in which this role is assigned. Possible values are:
- CUSTOMER
- ORG_UNIT
org_unit_id: Option<String>
If the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.
Trait Implementations
impl Default for RoleAssignment
[src]
impl Default for RoleAssignment
fn default() -> RoleAssignment
[src]
fn default() -> RoleAssignment
Returns the "default value" for a type. Read more
impl Clone for RoleAssignment
[src]
impl Clone for RoleAssignment
fn clone(&self) -> RoleAssignment
[src]
fn clone(&self) -> RoleAssignment
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 RoleAssignment
[src]
impl Debug for RoleAssignment
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 RequestValue for RoleAssignment
[src]
impl RequestValue for RoleAssignment
impl Resource for RoleAssignment
[src]
impl Resource for RoleAssignment
impl ResponseResult for RoleAssignment
[src]
impl ResponseResult for RoleAssignment
Auto Trait Implementations
impl Send for RoleAssignment
impl Send for RoleAssignment
impl Sync for RoleAssignment
impl Sync for RoleAssignment