pub struct Enterprise {
    pub app_auto_approval_enabled: Option<bool>,
    pub contact_info: Option<ContactInfo>,
    pub enabled_notification_types: Option<Vec<String>>,
    pub enterprise_display_name: Option<String>,
    pub logo: Option<ExternalData>,
    pub name: Option<String>,
    pub primary_color: Option<i32>,
    pub pubsub_topic: Option<String>,
    pub signin_details: Option<Vec<SigninDetail>>,
    pub terms_and_conditions: Option<Vec<TermsAndConditions>>,
}
Expand description

The configuration applied to an enterprise.

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

app_auto_approval_enabled: Option<bool>

Deprecated and unused.

contact_info: Option<ContactInfo>

The enterprise contact info of an EMM-managed enterprise.

enabled_notification_types: Option<Vec<String>>

The types of Google Pub/Sub notifications enabled for the enterprise.

enterprise_display_name: Option<String>

The name of the enterprise displayed to users.

An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng.

name: Option<String>

The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}.

primary_color: Option<i32>

A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive.

pubsub_topic: Option<String>

The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled.

signin_details: Option<Vec<SigninDetail>>

Sign-in details of the enterprise.

terms_and_conditions: Option<Vec<TermsAndConditions>>

Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more