pub struct VolumePlan {
pub name: String,
pub driver: String,
pub labels: HashMap<String, String>,
pub options: HashMap<String, String>,
pub replace_existing: bool,
pub attached_containers: Vec<String>,
}Expand description
Source volume transfer description.
Fields§
§name: StringSource volume name.
driver: StringVolume driver.
labels: HashMap<String, String>Volume labels preserved during recreate.
options: HashMap<String, String>Driver options preserved during recreate.
replace_existing: boolWhether the target volume will be replaced.
attached_containers: Vec<String>Source containers referencing the volume.
Trait Implementations§
Source§impl Clone for VolumePlan
impl Clone for VolumePlan
Source§fn clone(&self) -> VolumePlan
fn clone(&self) -> VolumePlan
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 VolumePlan
impl Debug for VolumePlan
Source§impl<'de> Deserialize<'de> for VolumePlan
impl<'de> Deserialize<'de> for VolumePlan
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
impl Eq for VolumePlan
Source§impl PartialEq for VolumePlan
impl PartialEq for VolumePlan
Source§impl Serialize for VolumePlan
impl Serialize for VolumePlan
impl StructuralPartialEq for VolumePlan
Auto Trait Implementations§
impl Freeze for VolumePlan
impl RefUnwindSafe for VolumePlan
impl Send for VolumePlan
impl Sync for VolumePlan
impl Unpin for VolumePlan
impl UnsafeUnpin for VolumePlan
impl UnwindSafe for VolumePlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.