pub struct PersonalUsagePolicies {
pub account_types_with_management_disabled: Option<Vec<String>>,
pub bluetooth_sharing: Option<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 private_space_policy: Option<String>,
pub screen_capture_disabled: Option<bool>,
}Expand description
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.
bluetooth_sharing: Option<String>Optional. Whether bluetooth sharing is allowed.
camera_disabled: Option<bool>If true, the camera is disabled on the personal profile.
max_days_with_work_off: Option<i32>Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to a value smaller than the minimum duration, the feature returns an error. Note: If you want to avoid personal profiles being suspended during long periods of off-time, you can temporarily set a large value for this parameter.
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.
private_space_policy: Option<String>Optional. Controls whether a private space is allowed on the device.
screen_capture_disabled: Option<bool>If true, screen capture is disabled for all users.
Trait Implementations§
Source§impl Clone for PersonalUsagePolicies
impl Clone for PersonalUsagePolicies
Source§fn clone(&self) -> PersonalUsagePolicies
fn clone(&self) -> PersonalUsagePolicies
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more