Struct google_dfareporting3d4::api::UserRole[][src]

pub struct UserRole {
    pub account_id: Option<String>,
    pub default_user_role: Option<bool>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub parent_user_role_id: Option<String>,
    pub permissions: Option<Vec<UserRolePermission>>,
    pub subaccount_id: Option<String>,
}

Contains properties of auser role, which is used to manage user access.

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

account_id: Option<String>

Account ID of this user role. This is a read-only field that can be left blank.

default_user_role: Option<bool>

Whether this is a default user role. Default user roles are created by the system for the account/subaccount and cannot be modified or deleted. Each default user role comes with a basic set of preassigned permissions.

id: Option<String>

ID of this user role. This is a read-only, auto-generated field.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string “dfareporting#userRole”.

name: Option<String>

Name of this user role. This is a required field. Must be less than 256 characters long. If this user role is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this user role is a top-level user role, and the name must be unique among top-level user roles of the same account.

parent_user_role_id: Option<String>

ID of the user role that this user role is based on or copied from. This is a required field.

permissions: Option<Vec<UserRolePermission>>

List of permissions associated with this user role.

subaccount_id: Option<String>

Subaccount ID of this user role. This is a read-only field that can be left blank.

Trait Implementations

impl Clone for UserRole[src]

impl Debug for UserRole[src]

impl Default for UserRole[src]

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

impl RequestValue for UserRole[src]

impl Resource for UserRole[src]

impl ResponseResult for UserRole[src]

impl Serialize for UserRole[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> Instrument 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.