pub struct NetworkPruneResult {
pub deleted_networks: Vec<String>,
pub space_reclaimed: Option<u64>,
pub raw_output: CommandOutput,
}
Expand description
Result from network prune command
Fields§
§deleted_networks: Vec<String>
Deleted networks
space_reclaimed: Option<u64>
Space reclaimed in bytes
raw_output: CommandOutput
Raw command output
Implementations§
Trait Implementations§
Source§impl Clone for NetworkPruneResult
impl Clone for NetworkPruneResult
Source§fn clone(&self) -> NetworkPruneResult
fn clone(&self) -> NetworkPruneResult
Returns a duplicate of the value. Read more
1.0.0 · 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 NetworkPruneResult
impl Debug for NetworkPruneResult
Source§impl From<CommandOutput> for NetworkPruneResult
impl From<CommandOutput> for NetworkPruneResult
Source§fn from(output: CommandOutput) -> Self
fn from(output: CommandOutput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetworkPruneResult
impl RefUnwindSafe for NetworkPruneResult
impl Send for NetworkPruneResult
impl Sync for NetworkPruneResult
impl Unpin for NetworkPruneResult
impl UnwindSafe for NetworkPruneResult
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