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