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