pub struct DeviceClusterAssignment {
pub id: Option<Uuid>,
pub object_type: Option<String>,
pub display: Option<String>,
pub url: Option<String>,
pub natural_slug: Option<String>,
pub device: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub cluster: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
}Expand description
DeviceClusterAssignment : Serializer for DeviceClusterAssignment model.
Fields§
§id: Option<Uuid>§object_type: Option<String>§display: Option<String>Human friendly display value
url: Option<String>§natural_slug: Option<String>§device: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§cluster: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>Implementations§
Source§impl DeviceClusterAssignment
impl DeviceClusterAssignment
Sourcepub fn new(
device: ApprovalWorkflowStageResponseApprovalWorkflowStage,
cluster: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> DeviceClusterAssignment
pub fn new( device: ApprovalWorkflowStageResponseApprovalWorkflowStage, cluster: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> DeviceClusterAssignment
Serializer for DeviceClusterAssignment model.
Trait Implementations§
Source§impl Clone for DeviceClusterAssignment
impl Clone for DeviceClusterAssignment
Source§fn clone(&self) -> DeviceClusterAssignment
fn clone(&self) -> DeviceClusterAssignment
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 DeviceClusterAssignment
impl Debug for DeviceClusterAssignment
Source§impl Default for DeviceClusterAssignment
impl Default for DeviceClusterAssignment
Source§fn default() -> DeviceClusterAssignment
fn default() -> DeviceClusterAssignment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceClusterAssignment
impl<'de> Deserialize<'de> for DeviceClusterAssignment
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 DeviceClusterAssignment
impl PartialEq for DeviceClusterAssignment
Source§impl Serialize for DeviceClusterAssignment
impl Serialize for DeviceClusterAssignment
impl StructuralPartialEq for DeviceClusterAssignment
Auto Trait Implementations§
impl Freeze for DeviceClusterAssignment
impl RefUnwindSafe for DeviceClusterAssignment
impl Send for DeviceClusterAssignment
impl Sync for DeviceClusterAssignment
impl Unpin for DeviceClusterAssignment
impl UnsafeUnpin for DeviceClusterAssignment
impl UnwindSafe for DeviceClusterAssignment
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