Struct google_content2::Account
source · pub struct Account {
pub reviews_url: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub adult_content: Option<bool>,
pub adwords_links: Option<Vec<AccountAdwordsLink>>,
pub website_url: Option<String>,
pub seller_id: Option<String>,
pub id: Option<String>,
pub users: Option<Vec<AccountUser>>,
}Expand description
Account data.
§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).
- custombatch accounts (none)
- patch accounts (request|response)
- get accounts (response)
- update accounts (request|response)
- list accounts (none)
- authinfo accounts (none)
- claimwebsite accounts (none)
- delete accounts (none)
- insert accounts (request|response)
Fields§
§reviews_url: Option<String>URL for individual seller reviews, i.e., reviews for each child account.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “content#account”.
name: Option<String>Display name for the account.
adult_content: Option<bool>Indicates whether the merchant sells adult content.
adwords_links: Option<Vec<AccountAdwordsLink>>List of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
website_url: Option<String>The merchant’s website.
seller_id: Option<String>Client-specific, locally-unique, internal ID for the child account.
id: Option<String>Merchant Center account ID.
users: Option<Vec<AccountUser>>Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
Trait Implementations§
source§impl Deserialize for Account
impl Deserialize for Account
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
impl RequestValue for Account
impl Resource for Account
impl ResponseResult for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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