pub struct AndroidWorkProfileGeneralDeviceConfiguration {Show 34 fields
pub password_block_fingerprint_unlock: bool,
pub password_block_trust_agents: bool,
pub password_expiration_days: i32,
pub password_minimum_length: i32,
pub password_minutes_of_inactivity_before_screen_timeout: i32,
pub password_previous_password_block_count: i32,
pub password_sign_in_failure_count_before_factory_reset: i32,
pub password_required_type: AndroidWorkProfileRequiredPasswordType,
pub work_profile_data_sharing_type: AndroidWorkProfileCrossProfileDataSharingType,
pub work_profile_block_notifications_while_device_locked: bool,
pub work_profile_block_adding_accounts: bool,
pub work_profile_bluetooth_enable_contact_sharing: bool,
pub work_profile_block_screen_capture: bool,
pub work_profile_block_cross_profile_caller_id: bool,
pub work_profile_block_camera: bool,
pub work_profile_block_cross_profile_contacts_search: bool,
pub work_profile_block_cross_profile_copy_paste: bool,
pub work_profile_default_app_permission_policy: AndroidWorkProfileDefaultAppPermissionPolicyType,
pub work_profile_password_block_fingerprint_unlock: bool,
pub work_profile_password_block_trust_agents: bool,
pub work_profile_password_expiration_days: i32,
pub work_profile_password_minimum_length: i32,
pub work_profile_password_min_numeric_characters: i32,
pub work_profile_password_min_non_letter_characters: i32,
pub work_profile_password_min_letter_characters: i32,
pub work_profile_password_min_lower_case_characters: i32,
pub work_profile_password_min_upper_case_characters: i32,
pub work_profile_password_min_symbol_characters: i32,
pub work_profile_password_minutes_of_inactivity_before_screen_timeout: i32,
pub work_profile_password_previous_password_block_count: i32,
pub work_profile_password_sign_in_failure_count_before_factory_reset: i32,
pub work_profile_password_required_type: AndroidWorkProfileRequiredPasswordType,
pub work_profile_require_password: bool,
pub security_require_verify_apps: bool,
}
Fields§
§password_block_fingerprint_unlock: bool
§password_block_trust_agents: bool
§password_expiration_days: i32
§password_minimum_length: i32
§password_minutes_of_inactivity_before_screen_timeout: i32
§password_previous_password_block_count: i32
§password_sign_in_failure_count_before_factory_reset: i32
§password_required_type: AndroidWorkProfileRequiredPasswordType
§work_profile_data_sharing_type: AndroidWorkProfileCrossProfileDataSharingType
§work_profile_block_notifications_while_device_locked: bool
§work_profile_block_adding_accounts: bool
§work_profile_bluetooth_enable_contact_sharing: bool
§work_profile_block_screen_capture: bool
§work_profile_block_cross_profile_caller_id: bool
§work_profile_block_camera: bool
§work_profile_block_cross_profile_contacts_search: bool
§work_profile_block_cross_profile_copy_paste: bool
§work_profile_default_app_permission_policy: AndroidWorkProfileDefaultAppPermissionPolicyType
§work_profile_password_block_fingerprint_unlock: bool
§work_profile_password_block_trust_agents: bool
§work_profile_password_expiration_days: i32
§work_profile_password_minimum_length: i32
§work_profile_password_min_numeric_characters: i32
§work_profile_password_min_non_letter_characters: i32
§work_profile_password_min_letter_characters: i32
§work_profile_password_min_lower_case_characters: i32
§work_profile_password_min_upper_case_characters: i32
§work_profile_password_min_symbol_characters: i32
§work_profile_password_minutes_of_inactivity_before_screen_timeout: i32
§work_profile_password_previous_password_block_count: i32
§work_profile_password_sign_in_failure_count_before_factory_reset: i32
§work_profile_password_required_type: AndroidWorkProfileRequiredPasswordType
§work_profile_require_password: bool
§security_require_verify_apps: bool
Trait Implementations§
Source§impl Clone for AndroidWorkProfileGeneralDeviceConfiguration
impl Clone for AndroidWorkProfileGeneralDeviceConfiguration
Source§fn clone(&self) -> AndroidWorkProfileGeneralDeviceConfiguration
fn clone(&self) -> AndroidWorkProfileGeneralDeviceConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for AndroidWorkProfileGeneralDeviceConfiguration
impl<'de> Deserialize<'de> for AndroidWorkProfileGeneralDeviceConfiguration
Source§fn 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
Source§impl PartialEq for AndroidWorkProfileGeneralDeviceConfiguration
impl PartialEq for AndroidWorkProfileGeneralDeviceConfiguration
Source§fn eq(&self, other: &AndroidWorkProfileGeneralDeviceConfiguration) -> bool
fn eq(&self, other: &AndroidWorkProfileGeneralDeviceConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for AndroidWorkProfileGeneralDeviceConfiguration
impl StructuralPartialEq for AndroidWorkProfileGeneralDeviceConfiguration
Auto Trait Implementations§
impl Freeze for AndroidWorkProfileGeneralDeviceConfiguration
impl RefUnwindSafe for AndroidWorkProfileGeneralDeviceConfiguration
impl Send for AndroidWorkProfileGeneralDeviceConfiguration
impl Sync for AndroidWorkProfileGeneralDeviceConfiguration
impl Unpin for AndroidWorkProfileGeneralDeviceConfiguration
impl UnwindSafe for AndroidWorkProfileGeneralDeviceConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more