pub struct DeviceEnrollmentPlatformRestriction {
pub platform_blocked: bool,
pub personal_device_enrollment_blocked: bool,
pub os_minimum_version: String,
pub os_maximum_version: String,
}
Fields§
§platform_blocked: bool
§personal_device_enrollment_blocked: bool
§os_minimum_version: String
§os_maximum_version: String
Trait Implementations§
Source§impl Clone for DeviceEnrollmentPlatformRestriction
impl Clone for DeviceEnrollmentPlatformRestriction
Source§fn clone(&self) -> DeviceEnrollmentPlatformRestriction
fn clone(&self) -> DeviceEnrollmentPlatformRestriction
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 DeviceEnrollmentPlatformRestriction
impl<'de> Deserialize<'de> for DeviceEnrollmentPlatformRestriction
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 DeviceEnrollmentPlatformRestriction
impl PartialEq for DeviceEnrollmentPlatformRestriction
Source§fn eq(&self, other: &DeviceEnrollmentPlatformRestriction) -> bool
fn eq(&self, other: &DeviceEnrollmentPlatformRestriction) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for DeviceEnrollmentPlatformRestriction
impl StructuralPartialEq for DeviceEnrollmentPlatformRestriction
Auto Trait Implementations§
impl Freeze for DeviceEnrollmentPlatformRestriction
impl RefUnwindSafe for DeviceEnrollmentPlatformRestriction
impl Send for DeviceEnrollmentPlatformRestriction
impl Sync for DeviceEnrollmentPlatformRestriction
impl Unpin for DeviceEnrollmentPlatformRestriction
impl UnwindSafe for DeviceEnrollmentPlatformRestriction
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