Struct bollard_stubs::models::Ipam
source · pub struct Ipam {
pub driver: Option<String>,
pub config: Option<Vec<IpamConfig>>,
pub options: Option<HashMap<String, String>>,
}
Fields§
§driver: Option<String>
Name of the IPAM driver to use.
config: Option<Vec<IpamConfig>>
List of IPAM configuration options, specified as a map: {\"Subnet\": <CIDR>, \"IPRange\": <CIDR>, \"Gateway\": <IP address>, \"AuxAddress\": <device_name:IP address>}
options: Option<HashMap<String, String>>
Driver-specific options, specified as a map.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ipam
impl<'de> Deserialize<'de> for Ipam
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