pub struct ContainerPruneResponse {
pub containers_deleted: Vec<String>,
pub space_reclaimed: u64,
}Expand description
Response body for POST /api/v1/containers/prune (Docker compat shape).
Docker uses ContainersDeleted / SpaceReclaimed PascalCase fields, so
SDK consumers (and the docker shim) can read the body verbatim.
Fields§
§containers_deleted: Vec<String>Container IDs that were removed.
space_reclaimed: u64Bytes reclaimed from the runtime’s container storage.
Trait Implementations§
Source§impl ComposeSchema for ContainerPruneResponse
impl ComposeSchema for ContainerPruneResponse
Source§impl Debug for ContainerPruneResponse
impl Debug for ContainerPruneResponse
Source§impl Default for ContainerPruneResponse
impl Default for ContainerPruneResponse
Source§fn default() -> ContainerPruneResponse
fn default() -> ContainerPruneResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerPruneResponse
impl<'de> Deserialize<'de> for ContainerPruneResponse
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 Serialize for ContainerPruneResponse
impl Serialize for ContainerPruneResponse
Auto Trait Implementations§
impl Freeze for ContainerPruneResponse
impl RefUnwindSafe for ContainerPruneResponse
impl Send for ContainerPruneResponse
impl Sync for ContainerPruneResponse
impl Unpin for ContainerPruneResponse
impl UnsafeUnpin for ContainerPruneResponse
impl UnwindSafe for ContainerPruneResponse
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