pub struct BulkWritableControllerRequest {Show 15 fields
pub id: 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
BulkWritableControllerRequest : 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: 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 BulkWritableControllerRequest
impl BulkWritableControllerRequest
Sourcepub fn new(
id: Uuid,
name: String,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
location: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> BulkWritableControllerRequest
pub fn new( id: Uuid, name: String, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, location: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> BulkWritableControllerRequest
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 BulkWritableControllerRequest
impl Clone for BulkWritableControllerRequest
Source§fn clone(&self) -> BulkWritableControllerRequest
fn clone(&self) -> BulkWritableControllerRequest
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 Default for BulkWritableControllerRequest
impl Default for BulkWritableControllerRequest
Source§fn default() -> BulkWritableControllerRequest
fn default() -> BulkWritableControllerRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkWritableControllerRequest
impl<'de> Deserialize<'de> for BulkWritableControllerRequest
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 BulkWritableControllerRequest
impl PartialEq for BulkWritableControllerRequest
Source§fn eq(&self, other: &BulkWritableControllerRequest) -> bool
fn eq(&self, other: &BulkWritableControllerRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BulkWritableControllerRequest
Auto Trait Implementations§
impl Freeze for BulkWritableControllerRequest
impl RefUnwindSafe for BulkWritableControllerRequest
impl Send for BulkWritableControllerRequest
impl Sync for BulkWritableControllerRequest
impl Unpin for BulkWritableControllerRequest
impl UnsafeUnpin for BulkWritableControllerRequest
impl UnwindSafe for BulkWritableControllerRequest
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