pub struct IpamPrefixesCreateRequest {Show 15 fields
pub prefix: String,
pub vrf: Option<Option<Box<IpAddressRequestVrf>>>,
pub scope_type: Option<Option<String>>,
pub scope_id: Option<Option<i32>>,
pub tenant: Option<Option<Box<AsnRangeRequestTenant>>>,
pub vlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>,
pub status: Option<Status>,
pub role: Option<Option<Box<AsnRequestRole>>>,
pub is_pool: Option<bool>,
pub mark_utilized: Option<bool>,
pub description: Option<String>,
pub owner: Option<Option<Box<AsnRangeRequestOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTagRequest>>,
pub custom_fields: Option<HashMap<String, Value>>,
}Fields§
§prefix: String§vrf: Option<Option<Box<IpAddressRequestVrf>>>§scope_type: Option<Option<String>>§scope_id: Option<Option<i32>>§tenant: Option<Option<Box<AsnRangeRequestTenant>>>§vlan: Option<Option<Box<InterfaceRequestUntaggedVlan>>>§status: Option<Status>Operational status of this prefix * container - Container * active - Active * reserved - Reserved * deprecated - Deprecated
role: Option<Option<Box<AsnRequestRole>>>§is_pool: Option<bool>All IP addresses within this prefix are considered usable
mark_utilized: Option<bool>Treat as fully utilized
description: Option<String>§owner: Option<Option<Box<AsnRangeRequestOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl IpamPrefixesCreateRequest
impl IpamPrefixesCreateRequest
pub fn new(prefix: String) -> IpamPrefixesCreateRequest
Trait Implementations§
Source§impl Clone for IpamPrefixesCreateRequest
impl Clone for IpamPrefixesCreateRequest
Source§fn clone(&self) -> IpamPrefixesCreateRequest
fn clone(&self) -> IpamPrefixesCreateRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IpamPrefixesCreateRequest
impl Debug for IpamPrefixesCreateRequest
Source§impl Default for IpamPrefixesCreateRequest
impl Default for IpamPrefixesCreateRequest
Source§fn default() -> IpamPrefixesCreateRequest
fn default() -> IpamPrefixesCreateRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpamPrefixesCreateRequest
impl<'de> Deserialize<'de> for IpamPrefixesCreateRequest
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 IpamPrefixesCreateRequest
impl PartialEq for IpamPrefixesCreateRequest
Source§fn eq(&self, other: &IpamPrefixesCreateRequest) -> bool
fn eq(&self, other: &IpamPrefixesCreateRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IpamPrefixesCreateRequest
Auto Trait Implementations§
impl Freeze for IpamPrefixesCreateRequest
impl RefUnwindSafe for IpamPrefixesCreateRequest
impl Send for IpamPrefixesCreateRequest
impl Sync for IpamPrefixesCreateRequest
impl Unpin for IpamPrefixesCreateRequest
impl UnsafeUnpin for IpamPrefixesCreateRequest
impl UnwindSafe for IpamPrefixesCreateRequest
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