pub struct ControllerManagedDeviceGroup {Show 17 fields
pub id: Option<Uuid>,
pub object_type: Option<String>,
pub display: Option<String>,
pub url: Option<String>,
pub natural_slug: Option<String>,
pub capabilities: Option<Option<Vec<ControllerCapabilitiesInner>>>,
pub name: String,
pub description: Option<String>,
pub weight: Option<i32>,
pub parent: Option<Option<Box<ApprovalWorkflowUser>>>,
pub controller: Box<BulkWritableControllerManagedDeviceGroupRequestController>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub notes_url: Option<String>,
pub custom_fields: Option<HashMap<String, Value>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
ControllerManagedDeviceGroup : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Option<Uuid>§object_type: Option<String>§display: Option<String>Human friendly display value
url: Option<String>§natural_slug: Option<String>§capabilities: Option<Option<Vec<ControllerCapabilitiesInner>>>§name: StringName of the controller device group
description: Option<String>§weight: Option<i32>Weight of the controller device group, used to sort the groups within its parent group
parent: Option<Option<Box<ApprovalWorkflowUser>>>§controller: Box<BulkWritableControllerManagedDeviceGroupRequestController>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§notes_url: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl ControllerManagedDeviceGroup
impl ControllerManagedDeviceGroup
Sourcepub fn new(
name: String,
controller: BulkWritableControllerManagedDeviceGroupRequestController,
) -> ControllerManagedDeviceGroup
pub fn new( name: String, controller: BulkWritableControllerManagedDeviceGroupRequestController, ) -> ControllerManagedDeviceGroup
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for ControllerManagedDeviceGroup
impl Clone for ControllerManagedDeviceGroup
Source§fn clone(&self) -> ControllerManagedDeviceGroup
fn clone(&self) -> ControllerManagedDeviceGroup
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 ControllerManagedDeviceGroup
impl Debug for ControllerManagedDeviceGroup
Source§impl Default for ControllerManagedDeviceGroup
impl Default for ControllerManagedDeviceGroup
Source§fn default() -> ControllerManagedDeviceGroup
fn default() -> ControllerManagedDeviceGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ControllerManagedDeviceGroup
impl<'de> Deserialize<'de> for ControllerManagedDeviceGroup
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 ControllerManagedDeviceGroup
impl PartialEq for ControllerManagedDeviceGroup
Source§fn eq(&self, other: &ControllerManagedDeviceGroup) -> bool
fn eq(&self, other: &ControllerManagedDeviceGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControllerManagedDeviceGroup
Auto Trait Implementations§
impl Freeze for ControllerManagedDeviceGroup
impl RefUnwindSafe for ControllerManagedDeviceGroup
impl Send for ControllerManagedDeviceGroup
impl Sync for ControllerManagedDeviceGroup
impl Unpin for ControllerManagedDeviceGroup
impl UnsafeUnpin for ControllerManagedDeviceGroup
impl UnwindSafe for ControllerManagedDeviceGroup
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