Struct google_dfareporting2d8::api::Subaccount
source · pub struct Subaccount {
pub account_id: Option<i64>,
pub available_permission_ids: Option<Vec<i64>>,
pub id: Option<i64>,
pub kind: Option<String>,
pub name: Option<String>,
}
Expand description
Contains properties of a Campaign Manager subaccount.
§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 subaccounts (response)
- insert subaccounts (request|response)
- list subaccounts (none)
- patch subaccounts (request|response)
- update subaccounts (request|response)
Fields§
§account_id: Option<i64>
ID of the account that contains this subaccount. This is a read-only field that can be left blank.
available_permission_ids: Option<Vec<i64>>
IDs of the available user role permissions for this subaccount.
id: Option<i64>
ID of this subaccount. This is a read-only, auto-generated field.
kind: Option<String>
Identifies what kind of resource this is. Value: the fixed string “dfareporting#subaccount”.
name: Option<String>
Name of this subaccount. This is a required field. Must be less than 128 characters long and be unique among subaccounts of the same account.
Trait Implementations§
source§impl Clone for Subaccount
impl Clone for Subaccount
source§fn clone(&self) -> Subaccount
fn clone(&self) -> Subaccount
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 Subaccount
impl Debug for Subaccount
source§impl Default for Subaccount
impl Default for Subaccount
source§fn default() -> Subaccount
fn default() -> Subaccount
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Subaccount
impl<'de> Deserialize<'de> for Subaccount
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 Subaccount
impl Serialize for Subaccount
impl RequestValue for Subaccount
impl Resource for Subaccount
impl ResponseResult for Subaccount
Auto Trait Implementations§
impl RefUnwindSafe for Subaccount
impl Send for Subaccount
impl Sync for Subaccount
impl Unpin for Subaccount
impl UnwindSafe for Subaccount
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