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
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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>,
Source§impl Serialize for AccountPermission
impl Serialize for AccountPermission
impl Resource for AccountPermission
impl ResponseResult for AccountPermission
Auto Trait Implementations§
impl Freeze for AccountPermission
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more