pub enum AndroidWorkProfileCrossProfileDataSharingType {
NoRestrictions,
AllowPersonalToWork,
PreventAny,
DeviceDefault,
}
Variants§
Trait Implementations§
Source§impl Clone for AndroidWorkProfileCrossProfileDataSharingType
impl Clone for AndroidWorkProfileCrossProfileDataSharingType
Source§fn clone(&self) -> AndroidWorkProfileCrossProfileDataSharingType
fn clone(&self) -> AndroidWorkProfileCrossProfileDataSharingType
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 AndroidWorkProfileCrossProfileDataSharingType
impl<'de> Deserialize<'de> for AndroidWorkProfileCrossProfileDataSharingType
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 Ord for AndroidWorkProfileCrossProfileDataSharingType
impl Ord for AndroidWorkProfileCrossProfileDataSharingType
Source§fn cmp(&self, other: &AndroidWorkProfileCrossProfileDataSharingType) -> Ordering
fn cmp(&self, other: &AndroidWorkProfileCrossProfileDataSharingType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AndroidWorkProfileCrossProfileDataSharingType
impl PartialEq for AndroidWorkProfileCrossProfileDataSharingType
Source§fn eq(&self, other: &AndroidWorkProfileCrossProfileDataSharingType) -> bool
fn eq(&self, other: &AndroidWorkProfileCrossProfileDataSharingType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for AndroidWorkProfileCrossProfileDataSharingType
impl PartialOrd for AndroidWorkProfileCrossProfileDataSharingType
impl Eq for AndroidWorkProfileCrossProfileDataSharingType
impl StructuralPartialEq for AndroidWorkProfileCrossProfileDataSharingType
Auto Trait Implementations§
impl Freeze for AndroidWorkProfileCrossProfileDataSharingType
impl RefUnwindSafe for AndroidWorkProfileCrossProfileDataSharingType
impl Send for AndroidWorkProfileCrossProfileDataSharingType
impl Sync for AndroidWorkProfileCrossProfileDataSharingType
impl Unpin for AndroidWorkProfileCrossProfileDataSharingType
impl UnwindSafe for AndroidWorkProfileCrossProfileDataSharingType
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