pub struct NetworkInspectOutput {
pub json: Option<Value>,
pub raw_output: CommandOutput,
}
Expand description
Output from network inspect command
Fields§
§json: Option<Value>
JSON data
raw_output: CommandOutput
Raw command output
Implementations§
Trait Implementations§
Source§impl Clone for NetworkInspectOutput
impl Clone for NetworkInspectOutput
Source§fn clone(&self) -> NetworkInspectOutput
fn clone(&self) -> NetworkInspectOutput
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 NetworkInspectOutput
impl Debug for NetworkInspectOutput
Source§impl From<CommandOutput> for NetworkInspectOutput
impl From<CommandOutput> for NetworkInspectOutput
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 NetworkInspectOutput
impl RefUnwindSafe for NetworkInspectOutput
impl Send for NetworkInspectOutput
impl Sync for NetworkInspectOutput
impl Unpin for NetworkInspectOutput
impl UnwindSafe for NetworkInspectOutput
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