Struct google_androidenterprise1::api::Enterprise
source · [−]pub struct Enterprise {
pub administrator: Option<Vec<Administrator>>,
pub id: Option<String>,
pub name: Option<String>,
pub primary_domain: Option<String>,
}
Expand description
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).
- acknowledge notification set enterprises (none)
- complete signup enterprises (response)
- create web token enterprises (none)
- enroll enterprises (request|response)
- generate signup url enterprises (none)
- get enterprises (response)
- get service account enterprises (none)
- get store layout enterprises (none)
- list enterprises (none)
- pull notification set enterprises (none)
- send test push notification enterprises (none)
- set account enterprises (none)
- set store layout enterprises (none)
- unenroll enterprises (none)
Fields
administrator: Option<Vec<Administrator>>
Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow.
id: Option<String>
The unique ID for the enterprise.
name: Option<String>
The name of the enterprise, for example, “Example, Inc”.
primary_domain: Option<String>
The enterprise’s primary domain, such as “example.com”.
Trait Implementations
sourceimpl Clone for Enterprise
impl Clone for Enterprise
sourcefn clone(&self) -> Enterprise
fn clone(&self) -> Enterprise
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Enterprise
impl Debug for Enterprise
sourceimpl Default for Enterprise
impl Default for Enterprise
sourcefn default() -> Enterprise
fn default() -> Enterprise
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Enterprise
impl<'de> Deserialize<'de> for Enterprise
sourcefn 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
sourceimpl Serialize for Enterprise
impl Serialize for Enterprise
impl RequestValue for Enterprise
impl Resource for Enterprise
impl ResponseResult for Enterprise
Auto Trait Implementations
impl RefUnwindSafe for Enterprise
impl Send for Enterprise
impl Sync for Enterprise
impl Unpin for Enterprise
impl UnwindSafe for Enterprise
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more