Struct bollard::network::InspectNetworkOptions
source · pub struct InspectNetworkOptions<T>{
pub verbose: bool,
pub scope: T,
}
Expand description
Parameters used in the Inspect Network API
§Examples
use bollard::network::InspectNetworkOptions;
InspectNetworkOptions{
verbose: true,
scope: "global",
};
InspectNetworkOptions::<&str>{
..Default::default()
};
Fields§
§verbose: bool
Detailed inspect output for troubleshooting.
scope: T
Filter the network by scope (swarm, global, or local)
Trait Implementations§
source§impl<T> Clone for InspectNetworkOptions<T>
impl<T> Clone for InspectNetworkOptions<T>
source§fn clone(&self) -> InspectNetworkOptions<T>
fn clone(&self) -> InspectNetworkOptions<T>
Returns a copy 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<T> Debug for InspectNetworkOptions<T>
impl<T> Debug for InspectNetworkOptions<T>
source§impl<T> Default for InspectNetworkOptions<T>
impl<T> Default for InspectNetworkOptions<T>
source§fn default() -> InspectNetworkOptions<T>
fn default() -> InspectNetworkOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for InspectNetworkOptions<T>
impl<T> PartialEq for InspectNetworkOptions<T>
source§impl<T> Serialize for InspectNetworkOptions<T>
impl<T> Serialize for InspectNetworkOptions<T>
impl<T> StructuralPartialEq for InspectNetworkOptions<T>
Auto Trait Implementations§
impl<T> Freeze for InspectNetworkOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for InspectNetworkOptions<T>where
T: RefUnwindSafe,
impl<T> Send for InspectNetworkOptions<T>where
T: Send,
impl<T> Sync for InspectNetworkOptions<T>where
T: Sync,
impl<T> Unpin for InspectNetworkOptions<T>where
T: Unpin,
impl<T> UnwindSafe for InspectNetworkOptions<T>where
T: UnwindSafe,
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)