pub struct BulkWritableModuleRequest {
pub id: Uuid,
pub serial: Option<Option<String>>,
pub asset_tag: Option<Option<String>>,
pub module_type: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub parent_module_bay: Option<Option<Box<ApprovalWorkflowUser>>>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub role: Option<Option<Box<ApprovalWorkflowUser>>>,
pub tenant: Option<Option<Box<ApprovalWorkflowUser>>>,
pub location: Option<Option<Box<ApprovalWorkflowUser>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
BulkWritableModuleRequest : 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§serial: Option<Option<String>>§asset_tag: Option<Option<String>>A unique tag used to identify this module
module_type: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§parent_module_bay: Option<Option<Box<ApprovalWorkflowUser>>>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§role: Option<Option<Box<ApprovalWorkflowUser>>>§tenant: Option<Option<Box<ApprovalWorkflowUser>>>§location: Option<Option<Box<ApprovalWorkflowUser>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl BulkWritableModuleRequest
impl BulkWritableModuleRequest
Sourcepub fn new(
id: Uuid,
module_type: ApprovalWorkflowStageResponseApprovalWorkflowStage,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> BulkWritableModuleRequest
pub fn new( id: Uuid, module_type: ApprovalWorkflowStageResponseApprovalWorkflowStage, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> BulkWritableModuleRequest
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 BulkWritableModuleRequest
impl Clone for BulkWritableModuleRequest
Source§fn clone(&self) -> BulkWritableModuleRequest
fn clone(&self) -> BulkWritableModuleRequest
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 BulkWritableModuleRequest
impl Debug for BulkWritableModuleRequest
Source§impl Default for BulkWritableModuleRequest
impl Default for BulkWritableModuleRequest
Source§fn default() -> BulkWritableModuleRequest
fn default() -> BulkWritableModuleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkWritableModuleRequest
impl<'de> Deserialize<'de> for BulkWritableModuleRequest
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
impl StructuralPartialEq for BulkWritableModuleRequest
Auto Trait Implementations§
impl Freeze for BulkWritableModuleRequest
impl RefUnwindSafe for BulkWritableModuleRequest
impl Send for BulkWritableModuleRequest
impl Sync for BulkWritableModuleRequest
impl Unpin for BulkWritableModuleRequest
impl UnsafeUnpin for BulkWritableModuleRequest
impl UnwindSafe for BulkWritableModuleRequest
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