pub struct BulkWritableCableRequest {Show 14 fields
pub id: Uuid,
pub termination_a_type: String,
pub termination_b_type: String,
pub length_unit: Option<LengthUnitEnum>,
pub type: Option<CableTypeChoices>,
pub termination_a_id: Uuid,
pub termination_b_id: Uuid,
pub label: Option<String>,
pub color: Option<String>,
pub length: Option<Option<i32>>,
pub status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>,
pub custom_fields: Option<HashMap<String, Value>>,
pub relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
BulkWritableCableRequest : 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§termination_a_type: String§termination_b_type: String§length_unit: Option<LengthUnitEnum>§type: Option<CableTypeChoices>§termination_a_id: Uuid§termination_b_id: Uuid§label: Option<String>§color: Option<String>RGB color in hexadecimal (e.g. 00ff00)
length: Option<Option<i32>>§status: Box<ApprovalWorkflowStageResponseApprovalWorkflowStage>§custom_fields: Option<HashMap<String, Value>>§relationships: Option<HashMap<String, ApprovalWorkflowDefinitionRequestRelationshipsValue>>Implementations§
Source§impl BulkWritableCableRequest
impl BulkWritableCableRequest
Sourcepub fn new(
id: Uuid,
termination_a_type: String,
termination_b_type: String,
termination_a_id: Uuid,
termination_b_id: Uuid,
status: ApprovalWorkflowStageResponseApprovalWorkflowStage,
) -> BulkWritableCableRequest
pub fn new( id: Uuid, termination_a_type: String, termination_b_type: String, termination_a_id: Uuid, termination_b_id: Uuid, status: ApprovalWorkflowStageResponseApprovalWorkflowStage, ) -> BulkWritableCableRequest
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 BulkWritableCableRequest
impl Clone for BulkWritableCableRequest
Source§fn clone(&self) -> BulkWritableCableRequest
fn clone(&self) -> BulkWritableCableRequest
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 BulkWritableCableRequest
impl Debug for BulkWritableCableRequest
Source§impl Default for BulkWritableCableRequest
impl Default for BulkWritableCableRequest
Source§fn default() -> BulkWritableCableRequest
fn default() -> BulkWritableCableRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BulkWritableCableRequest
impl<'de> Deserialize<'de> for BulkWritableCableRequest
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 BulkWritableCableRequest
impl PartialEq for BulkWritableCableRequest
Source§impl Serialize for BulkWritableCableRequest
impl Serialize for BulkWritableCableRequest
impl StructuralPartialEq for BulkWritableCableRequest
Auto Trait Implementations§
impl Freeze for BulkWritableCableRequest
impl RefUnwindSafe for BulkWritableCableRequest
impl Send for BulkWritableCableRequest
impl Sync for BulkWritableCableRequest
impl Unpin for BulkWritableCableRequest
impl UnsafeUnpin for BulkWritableCableRequest
impl UnwindSafe for BulkWritableCableRequest
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