Struct google_androidmanagement1::api::Enterprise
source · [−]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).
- applications get enterprises (none)
- devices operations cancel enterprises (none)
- devices operations delete enterprises (none)
- devices operations get enterprises (none)
- devices operations list enterprises (none)
- devices delete enterprises (none)
- devices get enterprises (none)
- devices issue command enterprises (none)
- devices list enterprises (none)
- devices patch enterprises (none)
- enrollment tokens create enterprises (none)
- enrollment tokens delete enterprises (none)
- policies delete enterprises (none)
- policies get enterprises (none)
- policies list enterprises (none)
- policies patch enterprises (none)
- web apps create enterprises (none)
- web apps delete enterprises (none)
- web apps get enterprises (none)
- web apps list enterprises (none)
- web apps patch enterprises (none)
- web tokens create enterprises (none)
- create enterprises (request|response)
- delete enterprises (none)
- get enterprises (response)
- list enterprises (none)
- patch enterprises (request|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.
logo: Option<ExternalData>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
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