pub struct ContainerPlan {
pub name: String,
pub id: String,
pub image_reference: String,
pub spec: ContainerSpec,
pub extra_networks: Vec<ContainerNetworkAttachment>,
pub replace_existing: bool,
}Expand description
A recreated container definition.
Fields§
§name: StringSource container name without the leading slash.
id: StringSource container identifier.
image_reference: StringImage reference used when recreating the container.
spec: ContainerSpecNormalized container creation spec.
extra_networks: Vec<ContainerNetworkAttachment>Additional network attachments after create.
replace_existing: boolWhether the target container will be replaced.
Trait Implementations§
Source§impl Clone for ContainerPlan
impl Clone for ContainerPlan
Source§fn clone(&self) -> ContainerPlan
fn clone(&self) -> ContainerPlan
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 ContainerPlan
impl Debug for ContainerPlan
Source§impl<'de> Deserialize<'de> for ContainerPlan
impl<'de> Deserialize<'de> for ContainerPlan
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 ContainerPlan
impl PartialEq for ContainerPlan
Source§impl Serialize for ContainerPlan
impl Serialize for ContainerPlan
impl StructuralPartialEq for ContainerPlan
Auto Trait Implementations§
impl Freeze for ContainerPlan
impl RefUnwindSafe for ContainerPlan
impl Send for ContainerPlan
impl Sync for ContainerPlan
impl Unpin for ContainerPlan
impl UnsafeUnpin for ContainerPlan
impl UnwindSafe for ContainerPlan
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