pub struct WritableIpAddressRequest {Show 13 fields
pub address: 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
WritableIpAddressRequest : Adds support for custom fields and tags.
Fields§
§address: 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 WritableIpAddressRequest
impl WritableIpAddressRequest
Sourcepub fn new(address: String) -> WritableIpAddressRequest
pub fn new(address: String) -> WritableIpAddressRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for WritableIpAddressRequest
impl Clone for WritableIpAddressRequest
Source§fn clone(&self) -> WritableIpAddressRequest
fn clone(&self) -> WritableIpAddressRequest
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 WritableIpAddressRequest
impl Debug for WritableIpAddressRequest
Source§impl Default for WritableIpAddressRequest
impl Default for WritableIpAddressRequest
Source§fn default() -> WritableIpAddressRequest
fn default() -> WritableIpAddressRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WritableIpAddressRequest
impl<'de> Deserialize<'de> for WritableIpAddressRequest
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 WritableIpAddressRequest
impl PartialEq for WritableIpAddressRequest
Source§impl Serialize for WritableIpAddressRequest
impl Serialize for WritableIpAddressRequest
impl StructuralPartialEq for WritableIpAddressRequest
Auto Trait Implementations§
impl Freeze for WritableIpAddressRequest
impl RefUnwindSafe for WritableIpAddressRequest
impl Send for WritableIpAddressRequest
impl Sync for WritableIpAddressRequest
impl Unpin for WritableIpAddressRequest
impl UnwindSafe for WritableIpAddressRequest
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