pub struct NetworkPlan {
pub name: String,
pub id: String,
pub driver: String,
pub internal: bool,
pub enable_ipv6: bool,
pub attachable: bool,
pub labels: HashMap<String, String>,
pub options: HashMap<String, String>,
pub ipam: Vec<NetworkIpamConfig>,
pub replace_existing: bool,
}Expand description
Source network transfer description.
Fields§
§name: StringSource network name.
id: StringSource network identifier.
driver: StringDocker network driver.
internal: boolWhether the network is internal.
enable_ipv6: boolWhether IPv6 is enabled.
attachable: boolWhether the network is attachable.
labels: HashMap<String, String>Network labels preserved during recreate.
options: HashMap<String, String>Network options preserved during recreate.
ipam: Vec<NetworkIpamConfig>IPAM subnet configuration preserved during recreate.
replace_existing: boolWhether the target network will be replaced.
Trait Implementations§
Source§impl Clone for NetworkPlan
impl Clone for NetworkPlan
Source§fn clone(&self) -> NetworkPlan
fn clone(&self) -> NetworkPlan
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 NetworkPlan
impl Debug for NetworkPlan
Source§impl<'de> Deserialize<'de> for NetworkPlan
impl<'de> Deserialize<'de> for NetworkPlan
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 NetworkPlan
impl PartialEq for NetworkPlan
Source§impl Serialize for NetworkPlan
impl Serialize for NetworkPlan
impl StructuralPartialEq for NetworkPlan
Auto Trait Implementations§
impl Freeze for NetworkPlan
impl RefUnwindSafe for NetworkPlan
impl Send for NetworkPlan
impl Sync for NetworkPlan
impl Unpin for NetworkPlan
impl UnsafeUnpin for NetworkPlan
impl UnwindSafe for NetworkPlan
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