Struct docker_api_stubs::models::Ipam
source · [−]pub struct Ipam {
pub config: Option<Vec<IpamConfig>>,
pub driver: Option<String>,
pub options: Option<HashMap<String, String>>,
}
Fields
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>}
driver: Option<String>
Name of the IPAM driver to use.
options: Option<HashMap<String, String>>
Driver-specific options, specified as a map.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Ipam
impl<'de> Deserialize<'de> for Ipam
sourcefn 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 Ipam
Auto Trait Implementations
impl RefUnwindSafe for Ipam
impl Send for Ipam
impl Sync for Ipam
impl Unpin for Ipam
impl UnwindSafe for Ipam
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more