pub struct PatchedBulkWritableModuleBayRequest {
pub id: Uuid,
pub requires_first_party_modules: Option<bool>,
pub name: Option<String>,
pub position: Option<String>,
pub label: Option<String>,
pub description: Option<String>,
pub parent_device: Option<Option<Box<ApprovalWorkflowUser>>>,
pub parent_module: Option<Option<Box<ApprovalWorkflowUser>>>,
pub module_family: Option<Option<Box<BulkWritableModuleBayRequestModuleFamily>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
PatchedBulkWritableModuleBayRequest : 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§requires_first_party_modules: Option<bool>This bay will only accept modules from the same manufacturer as the parent device or module
name: Option<String>§position: Option<String>The position of the module bay within the parent device/module
label: Option<String>Physical label
description: Option<String>§parent_device: Option<Option<Box<ApprovalWorkflowUser>>>§parent_module: Option<Option<Box<ApprovalWorkflowUser>>>§module_family: Option<Option<Box<BulkWritableModuleBayRequestModuleFamily>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl PatchedBulkWritableModuleBayRequest
impl PatchedBulkWritableModuleBayRequest
Sourcepub fn new(id: Uuid) -> PatchedBulkWritableModuleBayRequest
pub fn new(id: Uuid) -> PatchedBulkWritableModuleBayRequest
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 PatchedBulkWritableModuleBayRequest
impl Clone for PatchedBulkWritableModuleBayRequest
Source§fn clone(&self) -> PatchedBulkWritableModuleBayRequest
fn clone(&self) -> PatchedBulkWritableModuleBayRequest
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 PatchedBulkWritableModuleBayRequest
impl Default for PatchedBulkWritableModuleBayRequest
Source§fn default() -> PatchedBulkWritableModuleBayRequest
fn default() -> PatchedBulkWritableModuleBayRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedBulkWritableModuleBayRequest
impl<'de> Deserialize<'de> for PatchedBulkWritableModuleBayRequest
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 PatchedBulkWritableModuleBayRequest
impl PartialEq for PatchedBulkWritableModuleBayRequest
Source§fn eq(&self, other: &PatchedBulkWritableModuleBayRequest) -> bool
fn eq(&self, other: &PatchedBulkWritableModuleBayRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedBulkWritableModuleBayRequest
Auto Trait Implementations§
impl Freeze for PatchedBulkWritableModuleBayRequest
impl RefUnwindSafe for PatchedBulkWritableModuleBayRequest
impl Send for PatchedBulkWritableModuleBayRequest
impl Sync for PatchedBulkWritableModuleBayRequest
impl Unpin for PatchedBulkWritableModuleBayRequest
impl UnsafeUnpin for PatchedBulkWritableModuleBayRequest
impl UnwindSafe for PatchedBulkWritableModuleBayRequest
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