pub struct PatchedControllerRequest {Show 15 fields
pub id: Option<Uuid>,
pub capabilities: Option<Option<Vec<CapabilitiesEnum>>>,
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub location: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
pub platform: Option<Option<Box<ApprovalWorkflowUser>>>,
pub role: Option<Option<Box<ApprovalWorkflowUser>>>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub external_integration: Option<Option<Box<ApprovalWorkflowUser>>>,
pub controller_device: Option<Option<Box<ApprovalWorkflowUser>>>,
pub controller_device_redundancy_group: Option<Option<Box<ApprovalWorkflowUser>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
PatchedControllerRequest : 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>§capabilities: Option<Option<Vec<CapabilitiesEnum>>>§name: Option<String>§description: Option<String>§status: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§location: Option<Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>>§platform: Option<Option<Box<ApprovalWorkflowUser>>>§role: Option<Option<Box<ApprovalWorkflowUser>>>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§external_integration: Option<Option<Box<ApprovalWorkflowUser>>>§controller_device: Option<Option<Box<ApprovalWorkflowUser>>>§controller_device_redundancy_group: Option<Option<Box<ApprovalWorkflowUser>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl PatchedControllerRequest
impl PatchedControllerRequest
Sourcepub fn new() -> PatchedControllerRequest
pub fn new() -> PatchedControllerRequest
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 PatchedControllerRequest
impl Clone for PatchedControllerRequest
Source§fn clone(&self) -> PatchedControllerRequest
fn clone(&self) -> PatchedControllerRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PatchedControllerRequest
impl Debug for PatchedControllerRequest
Source§impl Default for PatchedControllerRequest
impl Default for PatchedControllerRequest
Source§fn default() -> PatchedControllerRequest
fn default() -> PatchedControllerRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedControllerRequest
impl<'de> Deserialize<'de> for PatchedControllerRequest
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 PatchedControllerRequest
impl PartialEq for PatchedControllerRequest
Source§fn eq(&self, other: &PatchedControllerRequest) -> bool
fn eq(&self, other: &PatchedControllerRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PatchedControllerRequest
impl Serialize for PatchedControllerRequest
impl StructuralPartialEq for PatchedControllerRequest
Auto Trait Implementations§
impl Freeze for PatchedControllerRequest
impl RefUnwindSafe for PatchedControllerRequest
impl Send for PatchedControllerRequest
impl Sync for PatchedControllerRequest
impl Unpin for PatchedControllerRequest
impl UnsafeUnpin for PatchedControllerRequest
impl UnwindSafe for PatchedControllerRequest
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