pub struct PatchedWritableServiceRequest {
pub parent_object_type: Option<String>,
pub parent_object_id: Option<i64>,
pub name: Option<String>,
pub protocol: Option<Protocol>,
pub ports: Option<Vec<i32>>,
pub ipaddresses: Option<Vec<i32>>,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableServiceRequest : Adds support for custom fields and tags.
Fields§
§parent_object_type: Option<String>§parent_object_id: Option<i64>§name: Option<String>§protocol: Option<Protocol>tcp- TCP *udp- UDP *sctp- SCTP
ports: Option<Vec<i32>>§ipaddresses: Option<Vec<i32>>§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableServiceRequest
impl PatchedWritableServiceRequest
Sourcepub fn new() -> PatchedWritableServiceRequest
pub fn new() -> PatchedWritableServiceRequest
Adds support for custom fields and tags.
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 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