pub struct ControllerRequest {Show 15 fields
pub id: Option<Uuid>,
pub capabilities: Option<Option<Vec<CapabilitiesEnum>>>,
pub name: String,
pub description: Option<String>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub location: 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
ControllerRequest : 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: String§description: Option<String>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§location: 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 ControllerRequest
impl ControllerRequest
Sourcepub fn new(
name: String,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
location: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> ControllerRequest
pub fn new( name: String, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, location: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> ControllerRequest
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 ControllerRequest
impl Clone for ControllerRequest
Source§fn clone(&self) -> ControllerRequest
fn clone(&self) -> ControllerRequest
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 ControllerRequest
impl Debug for ControllerRequest
Source§impl Default for ControllerRequest
impl Default for ControllerRequest
Source§fn default() -> ControllerRequest
fn default() -> ControllerRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ControllerRequest
impl<'de> Deserialize<'de> for ControllerRequest
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 ControllerRequest
impl PartialEq for ControllerRequest
Source§impl Serialize for ControllerRequest
impl Serialize for ControllerRequest
impl StructuralPartialEq for ControllerRequest
Auto Trait Implementations§
impl Freeze for ControllerRequest
impl RefUnwindSafe for ControllerRequest
impl Send for ControllerRequest
impl Sync for ControllerRequest
impl Unpin for ControllerRequest
impl UnsafeUnpin for ControllerRequest
impl UnwindSafe for ControllerRequest
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