pub struct VolumeEntry {
pub name: String,
pub labels: Value,
}Expand description
One docker volume ls row (only the name is consumed by status).
Fields§
§name: StringVolume name (<project>_<volume>).
labels: ValueLabels verbatim (includes com.docker.compose.project).
Trait Implementations§
Source§impl Clone for VolumeEntry
impl Clone for VolumeEntry
Source§fn clone(&self) -> VolumeEntry
fn clone(&self) -> VolumeEntry
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 VolumeEntry
impl Debug for VolumeEntry
Source§impl<'de> Deserialize<'de> for VolumeEntry
impl<'de> Deserialize<'de> for VolumeEntry
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 VolumeEntry
impl PartialEq for VolumeEntry
impl StructuralPartialEq for VolumeEntry
Auto Trait Implementations§
impl Freeze for VolumeEntry
impl RefUnwindSafe for VolumeEntry
impl Send for VolumeEntry
impl Sync for VolumeEntry
impl Unpin for VolumeEntry
impl UnsafeUnpin for VolumeEntry
impl UnwindSafe for VolumeEntry
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