pub struct PatchedWritableIpAddressRequest {Show 13 fields
pub address: Option<String>,
pub vrf: Option<Option<Box<IpAddressRequestVrf>>>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub status: Option<Status>,
pub role: Option<Option<Role>>,
pub assigned_object_type: Option<Option<String>>,
pub assigned_object_id: Option<Option<i64>>,
pub nat_inside: Option<Option<i32>>,
pub dns_name: Option<String>,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Expand description
PatchedWritableIpAddressRequest : Adds support for custom fields and tags.
Fields§
§address: Option<String>§vrf: Option<Option<Box<IpAddressRequestVrf>>>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§status: Option<Status>The operational status of this IP * active - Active * reserved - Reserved * deprecated - Deprecated * dhcp - DHCP * slaac - SLAAC
role: Option<Option<Role>>The functional role of this IP * loopback - Loopback * secondary - Secondary * anycast - Anycast * vip - VIP * vrrp - VRRP * hsrp - HSRP * glbp - GLBP * carp - CARP
assigned_object_type: Option<Option<String>>§assigned_object_id: Option<Option<i64>>§nat_inside: Option<Option<i32>>The IP for which this address is the "outside" IP
dns_name: Option<String>Hostname or FQDN (not case-sensitive)
description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl PatchedWritableIpAddressRequest
impl PatchedWritableIpAddressRequest
Sourcepub fn new() -> PatchedWritableIpAddressRequest
pub fn new() -> PatchedWritableIpAddressRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableIpAddressRequest
impl Clone for PatchedWritableIpAddressRequest
Source§fn clone(&self) -> PatchedWritableIpAddressRequest
fn clone(&self) -> PatchedWritableIpAddressRequest
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 PatchedWritableIpAddressRequest
impl Default for PatchedWritableIpAddressRequest
Source§fn default() -> PatchedWritableIpAddressRequest
fn default() -> PatchedWritableIpAddressRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableIpAddressRequest
impl<'de> Deserialize<'de> for PatchedWritableIpAddressRequest
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 PatchedWritableIpAddressRequest
impl PartialEq for PatchedWritableIpAddressRequest
Source§fn eq(&self, other: &PatchedWritableIpAddressRequest) -> bool
fn eq(&self, other: &PatchedWritableIpAddressRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableIpAddressRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableIpAddressRequest
impl RefUnwindSafe for PatchedWritableIpAddressRequest
impl Send for PatchedWritableIpAddressRequest
impl Sync for PatchedWritableIpAddressRequest
impl Unpin for PatchedWritableIpAddressRequest
impl UnwindSafe for PatchedWritableIpAddressRequest
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