[][src]Struct google_androidenterprise1::Enterprise

pub struct Enterprise {
    pub administrator: Option<Vec<Administrator>>,
    pub primary_domain: Option<String>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
}

An Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows:

  • For Google managed domain customers, the process involves using Enterprises.enroll and Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process.
  • For managed Google Play Accounts customers, the process involves using Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction with the managed Google Play sign-up UI (Google-provided mechanism) to create the binding without manual steps. As an EMM, you can support either or both approaches in your EMM console. See Create an Enterprise for details.

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

administrator: Option<Vec<Administrator>>

Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow.

primary_domain: Option<String>

The enterprise's primary domain, such as "example.com".

id: Option<String>

The unique ID for the enterprise.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterprise".

name: Option<String>

The name of the enterprise, for example, "Example, Inc".

Trait Implementations

impl Resource for Enterprise[src]

impl ResponseResult for Enterprise[src]

impl RequestValue for Enterprise[src]

impl Default for Enterprise[src]

impl Clone for Enterprise[src]

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

Performs copy-assignment from source. Read more

impl Debug for Enterprise[src]

impl Serialize for Enterprise[src]

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

Auto Trait Implementations

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]