Struct google_mybusiness4::api::Account[][src]

pub struct Account {
    pub account_name: Option<String>,
    pub account_number: Option<String>,
    pub name: Option<String>,
    pub organization_info: Option<OrganizationInfo>,
    pub permission_level: Option<String>,
    pub role: Option<String>,
    pub state: Option<AccountState>,
    pub type_: Option<String>,
}

An account is a container for your business’s locations. If you are the only user who manages locations for your business, you can use your personal Google Account. To share management of locations with multiple users, [create a business account] (https://support.google.com/business/answer/6085339?ref_topic=6085325).

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).

Fields

account_name: Option<String>

The name of the account.

account_number: Option<String>

Account reference number if provisioned.

name: Option<String>

The resource name, in the format accounts/{account_id}.

organization_info: Option<OrganizationInfo>

Additional info for an organization. This is populated only for an organization account.

permission_level: Option<String>

Output only. Specifies the PermissionLevel the caller has for this account.

role: Option<String>

Output only. Specifies the AccountRole the caller has for this account.

state: Option<AccountState>

Output only. Indicates the AccountState of this account.

type_: Option<String>

Output only. Specifies the AccountType of this account.

Trait Implementations

impl Clone for Account[src]

impl Debug for Account[src]

impl Default for Account[src]

impl<'de> Deserialize<'de> for Account[src]

impl RequestValue for Account[src]

impl Resource for Account[src]

impl ResponseResult for Account[src]

impl Serialize for Account[src]

Auto Trait Implementations

impl RefUnwindSafe for Account

impl Send for Account

impl Sync for Account

impl Unpin for Account

impl UnwindSafe for Account

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.