Struct google_androidmanagement1::api::PersonalUsagePolicies[][src]

pub struct PersonalUsagePolicies {
    pub account_types_with_management_disabled: Option<Vec<String>>,
    pub camera_disabled: Option<bool>,
    pub max_days_with_work_off: Option<i32>,
    pub personal_applications: Option<Vec<PersonalApplicationPolicy>>,
    pub personal_play_store_mode: Option<String>,
    pub screen_capture_disabled: Option<bool>,
}

Policies controlling personal usage on a company-owned device with a work profile.

This type is not used in any activity, and only used as part of another schema.

Fields

account_types_with_management_disabled: Option<Vec<String>>

Account types that can’t be managed by the user.

camera_disabled: Option<bool>

Whether camera is disabled.

max_days_with_work_off: Option<i32>

Controls how long the work profile can stay off. The duration must be at least 3 days.

personal_applications: Option<Vec<PersonalApplicationPolicy>>

Policy applied to applications in the personal profile.

personal_play_store_mode: Option<String>

Used together with personalApplications to control how apps in the personal profile are allowed or blocked.

screen_capture_disabled: Option<bool>

Whether screen capture is disabled.

Trait Implementations

impl Clone for PersonalUsagePolicies[src]

impl Debug for PersonalUsagePolicies[src]

impl Default for PersonalUsagePolicies[src]

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

impl Part for PersonalUsagePolicies[src]

impl Serialize for PersonalUsagePolicies[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.