[][src]Struct google_androiddeviceprovisioning1::Company

pub struct Company {
    pub name: Option<String>,
    pub company_id: Option<String>,
    pub company_name: Option<String>,
    pub terms_status: Option<String>,
    pub owner_emails: Option<Vec<String>>,
    pub admin_emails: Option<Vec<String>>,
}

A reseller, vendor, or customer in the zero-touch reseller and customer APIs.

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

name: Option<String>

Output only. The API resource name of the company. The resource name is one of the following formats:

  • partners/[PARTNER_ID]/customers/[CUSTOMER_ID]
  • partners/[PARTNER_ID]/vendors/[VENDOR_ID]
  • partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]

Assigned by the server.

company_id: Option<String>

Output only. The ID of the company. Assigned by the server.

company_name: Option<String>

Required. The name of the company. For example XYZ Corp. Displayed to the company's employees in the zero-touch enrollment portal.

terms_status: Option<String>

Output only. Whether any user from the company has accepted the latest Terms of Service (ToS). See TermsStatus.

owner_emails: Option<Vec<String>>

Input only. Email address of customer's users in the owner role. At least one owner_email is required. Each email address must be associated with a Google Account. Owners share the same access as admins but can also add, delete, and edit your organization's portal users.

admin_emails: Option<Vec<String>>

Input only. Optional. Email address of customer's users in the admin role. Each email address must be associated with a Google Account.

Trait Implementations

impl ResponseResult for Company[src]

impl Default for Company[src]

impl Clone for Company[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Company[src]

impl Serialize for Company[src]

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

Auto Trait Implementations

impl Send for Company

impl Unpin for Company

impl Sync for Company

impl UnwindSafe for Company

impl RefUnwindSafe for Company

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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