pub struct IpRange {Show 20 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub family: Option<Box<AggregateFamily>>,
pub start_address: String,
pub end_address: String,
pub size: Option<i32>,
pub vrf: Option<Option<Box<BriefVrf>>>,
pub tenant: Option<Option<Box<BriefTenant>>>,
pub status: Option<Box<IpRangeStatus>>,
pub role: Option<Option<Box<BriefRole>>>,
pub description: Option<String>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub mark_populated: Option<bool>,
pub mark_utilized: Option<bool>,
}Expand description
IpRange : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§family: Option<Box<AggregateFamily>>§start_address: String§end_address: String§size: Option<i32>§vrf: Option<Option<Box<BriefVrf>>>§tenant: Option<Option<Box<BriefTenant>>>§status: Option<Box<IpRangeStatus>>§role: Option<Option<Box<BriefRole>>>§description: Option<String>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§mark_populated: Option<bool>Prevent the creation of IP addresses within this range
mark_utilized: Option<bool>Report space as 100% utilized
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IpRange
impl<'de> Deserialize<'de> for IpRange
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
impl StructuralPartialEq for IpRange
Auto Trait Implementations§
impl Freeze for IpRange
impl RefUnwindSafe for IpRange
impl Send for IpRange
impl Sync for IpRange
impl Unpin for IpRange
impl UnwindSafe for IpRange
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