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