pub struct PatchedWritableIpRangeRequest {
pub start_address: Option<String>,
pub end_address: Option<String>,
pub vrf: Option<Option<Box<IpAddressRequestVrf>>>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub status: Option<Status>,
pub role: Option<Option<Box<IpRangeRequestRole>>>,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub mark_populated: Option<bool>,
pub mark_utilized: Option<bool>,
}Expand description
PatchedWritableIpRangeRequest : Adds support for custom fields and tags.
Fields§
§start_address: Option<String>§end_address: Option<String>§vrf: Option<Option<Box<IpAddressRequestVrf>>>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§status: Option<Status>Operational status of this range * active - Active * reserved - Reserved * deprecated - Deprecated
role: Option<Option<Box<IpRangeRequestRole>>>§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§mark_populated: Option<bool>Prevent the creation of IP addresses within this range
mark_utilized: Option<bool>Report space as 100% utilized
Implementations§
Source§impl PatchedWritableIpRangeRequest
impl PatchedWritableIpRangeRequest
Sourcepub fn new() -> PatchedWritableIpRangeRequest
pub fn new() -> PatchedWritableIpRangeRequest
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for PatchedWritableIpRangeRequest
impl Clone for PatchedWritableIpRangeRequest
Source§fn clone(&self) -> PatchedWritableIpRangeRequest
fn clone(&self) -> PatchedWritableIpRangeRequest
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 PatchedWritableIpRangeRequest
impl Default for PatchedWritableIpRangeRequest
Source§fn default() -> PatchedWritableIpRangeRequest
fn default() -> PatchedWritableIpRangeRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchedWritableIpRangeRequest
impl<'de> Deserialize<'de> for PatchedWritableIpRangeRequest
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 PatchedWritableIpRangeRequest
impl PartialEq for PatchedWritableIpRangeRequest
Source§fn eq(&self, other: &PatchedWritableIpRangeRequest) -> bool
fn eq(&self, other: &PatchedWritableIpRangeRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PatchedWritableIpRangeRequest
Auto Trait Implementations§
impl Freeze for PatchedWritableIpRangeRequest
impl RefUnwindSafe for PatchedWritableIpRangeRequest
impl Send for PatchedWritableIpRangeRequest
impl Sync for PatchedWritableIpRangeRequest
impl Unpin for PatchedWritableIpRangeRequest
impl UnwindSafe for PatchedWritableIpRangeRequest
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