[][src]Struct google_admin1_directory::RoleAssignment

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).

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 Clone for RoleAssignment[src]

impl Debug for RoleAssignment[src]

impl Default for RoleAssignment[src]

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

impl RequestValue for RoleAssignment[src]

impl Resource for RoleAssignment[src]

impl ResponseResult for RoleAssignment[src]

impl Serialize for RoleAssignment[src]

Auto Trait Implementations

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