pub struct BulkWritableConsolePortRequest {
pub id: Uuid,
pub type: Option<ConsolePortTypeChoices>,
pub name: String,
pub label: Option<String>,
pub description: Option<String>,
pub device: Option<Option<Box<ApprovalWorkflowUser>>>,
pub module: Option<Option<Box<ApprovalWorkflowUser>>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
BulkWritableConsolePortRequest : 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§type: Option<ConsolePortTypeChoices>§name: String§label: Option<String>Physical label
description: Option<String>§device: Option<Option<Box<ApprovalWorkflowUser>>>§module: Option<Option<Box<ApprovalWorkflowUser>>>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl BulkWritableConsolePortRequest
impl BulkWritableConsolePortRequest
Sourcepub fn new(id: Uuid, name: String) -> BulkWritableConsolePortRequest
pub fn new(id: Uuid, name: String) -> BulkWritableConsolePortRequest
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 BulkWritableConsolePortRequest
impl Clone for BulkWritableConsolePortRequest
Source§fn clone(&self) -> BulkWritableConsolePortRequest
fn clone(&self) -> BulkWritableConsolePortRequest
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 BulkWritableConsolePortRequest
impl Default for BulkWritableConsolePortRequest
Source§fn default() -> BulkWritableConsolePortRequest
fn default() -> BulkWritableConsolePortRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkWritableConsolePortRequest
impl<'de> Deserialize<'de> for BulkWritableConsolePortRequest
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 BulkWritableConsolePortRequest
impl PartialEq for BulkWritableConsolePortRequest
Source§fn eq(&self, other: &BulkWritableConsolePortRequest) -> bool
fn eq(&self, other: &BulkWritableConsolePortRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BulkWritableConsolePortRequest
Auto Trait Implementations§
impl Freeze for BulkWritableConsolePortRequest
impl RefUnwindSafe for BulkWritableConsolePortRequest
impl Send for BulkWritableConsolePortRequest
impl Sync for BulkWritableConsolePortRequest
impl Unpin for BulkWritableConsolePortRequest
impl UnsafeUnpin for BulkWritableConsolePortRequest
impl UnwindSafe for BulkWritableConsolePortRequest
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