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