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