[−][src]Struct google_dfareporting2d8::UserRole
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).
- insert user roles (request|response)
- update user roles (request|response)
- delete user roles (none)
- patch user roles (request|response)
- list user roles (none)
- get user roles (response)
Fields
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.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string "dfareporting#userRole".
subaccount_id: Option<String>
Subaccount ID of this user role. This is a read-only field that can be left blank.
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.
account_id: Option<String>
Account ID of this user role. This is a read-only field that can be left blank.
id: Option<String>
ID of this user role. This is a read-only, auto-generated field.
permissions: Option<Vec<UserRolePermission>>
List of permissions associated with this user role.
Trait Implementations
impl Resource for UserRole
[src]
impl ResponseResult for UserRole
[src]
impl RequestValue for UserRole
[src]
impl Default for UserRole
[src]
impl Clone for UserRole
[src]
fn clone(&self) -> UserRole
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for UserRole
[src]
impl Serialize for UserRole
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for UserRole
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for UserRole
impl Unpin for UserRole
impl Sync for UserRole
impl UnwindSafe for UserRole
impl RefUnwindSafe for UserRole
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,