Struct google_dfareporting3d2::api::AccountPermission
source · pub struct AccountPermission {
pub account_profiles: Option<Vec<String>>,
pub id: Option<i64>,
pub kind: Option<String>,
pub level: Option<String>,
pub name: Option<String>,
pub permission_group_id: Option<i64>,
}
Expand description
AccountPermissions contains information about a particular account permission. Some features of Campaign Manager require an account permission to be present in the account.
§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).
- get account permissions (response)
- list account permissions (none)
Fields§
§account_profiles: Option<Vec<String>>
Account profiles associated with this account permission.
Possible values are:
- “ACCOUNT_PROFILE_BASIC”
- “ACCOUNT_PROFILE_STANDARD”
id: Option<i64>
ID of this account permission.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “dfareporting#accountPermission”.
level: Option<String>
Administrative level required to enable this account permission.
name: Option<String>
Name of this account permission.
permission_group_id: Option<i64>
Permission group of this account permission.
Trait Implementations§
source§impl Clone for AccountPermission
impl Clone for AccountPermission
source§fn clone(&self) -> AccountPermission
fn clone(&self) -> AccountPermission
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccountPermission
impl Debug for AccountPermission
source§impl Default for AccountPermission
impl Default for AccountPermission
source§fn default() -> AccountPermission
fn default() -> AccountPermission
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountPermission
impl<'de> Deserialize<'de> for AccountPermission
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for AccountPermission
impl Serialize for AccountPermission
impl Resource for AccountPermission
impl ResponseResult for AccountPermission
Auto Trait Implementations§
impl RefUnwindSafe for AccountPermission
impl Send for AccountPermission
impl Sync for AccountPermission
impl Unpin for AccountPermission
impl UnwindSafe for AccountPermission
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more