pub struct IpamPoolConfig {
pub subnet: Option<String>,
pub gateway: Option<String>,
pub ip_range: Option<String>,
pub aux_addresses: Option<HashMap<String, String>>,
}Expand description
IPAM pool configuration.
Fields§
§subnet: Option<String>Subnet CIDR
gateway: Option<String>Gateway address
ip_range: Option<String>IP range
aux_addresses: Option<HashMap<String, String>>Auxiliary addresses
Trait Implementations§
Source§impl Clone for IpamPoolConfig
impl Clone for IpamPoolConfig
Source§fn clone(&self) -> IpamPoolConfig
fn clone(&self) -> IpamPoolConfig
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 IpamPoolConfig
impl Debug for IpamPoolConfig
Source§impl Default for IpamPoolConfig
impl Default for IpamPoolConfig
Source§fn default() -> IpamPoolConfig
fn default() -> IpamPoolConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IpamPoolConfig
impl<'de> Deserialize<'de> for IpamPoolConfig
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
Auto Trait Implementations§
impl Freeze for IpamPoolConfig
impl RefUnwindSafe for IpamPoolConfig
impl Send for IpamPoolConfig
impl Sync for IpamPoolConfig
impl Unpin for IpamPoolConfig
impl UnwindSafe for IpamPoolConfig
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