pub struct DevicecontrolapiRespPolicyV2 {Show 20 fields
pub assignment_type: String,
pub bluetooth_channel_version: Option<i64>,
pub bluetooth_settings: Option<Box<DevicecontrolapiBluetoothSettings>>,
pub cid: String,
pub created_by: String,
pub created_timestamp: String,
pub description: Option<String>,
pub enabled: bool,
pub groups: Vec<String>,
pub id: String,
pub modified_by: String,
pub modified_timestamp: String,
pub name: String,
pub platform_id: String,
pub platform_name: String,
pub precedence: i64,
pub propagated: Option<bool>,
pub settings_hash: Option<String>,
pub usb_channel_version: i64,
pub usb_settings: Box<DevicecontrolapiRespUsbSettingsV2>,
}Fields§
§assignment_type: StringDefault or Automatic
bluetooth_channel_version: Option<i64>Bluetooth channel file version number
bluetooth_settings: Option<Box<DevicecontrolapiBluetoothSettings>>§cid: StringCustomer ID of the policy
created_by: StringCS username who created the policy
created_timestamp: StringUTC time policy created
description: Option<String>Description of the policy
enabled: boolPolicy level enablement of the policy
groups: Vec<String>Host group IDs assigned to this policy
id: StringID of the policy
modified_by: StringLast CS username who modified the policy
modified_timestamp: StringUTC time policy modified
name: StringName of the policy
platform_id: StringThe platform numeric value. Windows:0, MacOS:1
platform_name: StringPolicy platform name (Windows or Mac)
precedence: i64Order in which a policy is applied (lower values is higher precedence)
propagated: Option<bool>For Flight Control enabled CIDs, indicates whether to propagate to child CIDs
settings_hash: Option<String>The hash of hostgroups assigned to the policy
usb_channel_version: i64USB channel file version number
usb_settings: Box<DevicecontrolapiRespUsbSettingsV2>Implementations§
Source§impl DevicecontrolapiRespPolicyV2
impl DevicecontrolapiRespPolicyV2
pub fn new( assignment_type: String, cid: String, created_by: String, created_timestamp: String, enabled: bool, groups: Vec<String>, id: String, modified_by: String, modified_timestamp: String, name: String, platform_id: String, platform_name: String, precedence: i64, usb_channel_version: i64, usb_settings: DevicecontrolapiRespUsbSettingsV2, ) -> DevicecontrolapiRespPolicyV2
Trait Implementations§
Source§impl Clone for DevicecontrolapiRespPolicyV2
impl Clone for DevicecontrolapiRespPolicyV2
Source§fn clone(&self) -> DevicecontrolapiRespPolicyV2
fn clone(&self) -> DevicecontrolapiRespPolicyV2
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 Debug for DevicecontrolapiRespPolicyV2
impl Debug for DevicecontrolapiRespPolicyV2
Source§impl Default for DevicecontrolapiRespPolicyV2
impl Default for DevicecontrolapiRespPolicyV2
Source§fn default() -> DevicecontrolapiRespPolicyV2
fn default() -> DevicecontrolapiRespPolicyV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DevicecontrolapiRespPolicyV2
impl<'de> Deserialize<'de> for DevicecontrolapiRespPolicyV2
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 DevicecontrolapiRespPolicyV2
impl PartialEq for DevicecontrolapiRespPolicyV2
Source§fn eq(&self, other: &DevicecontrolapiRespPolicyV2) -> bool
fn eq(&self, other: &DevicecontrolapiRespPolicyV2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DevicecontrolapiRespPolicyV2
Auto Trait Implementations§
impl Freeze for DevicecontrolapiRespPolicyV2
impl RefUnwindSafe for DevicecontrolapiRespPolicyV2
impl Send for DevicecontrolapiRespPolicyV2
impl Sync for DevicecontrolapiRespPolicyV2
impl Unpin for DevicecontrolapiRespPolicyV2
impl UnwindSafe for DevicecontrolapiRespPolicyV2
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