pub struct NetworkDisconnect {
pub container: Option<String>,
pub force: Option<bool>,
}
Expand description
NetworkDisconnect : NetworkDisconnect represents the data to be used to disconnect a container from the network
Fields§
§container: Option<String>
§force: Option<bool>
Implementations§
Source§impl NetworkDisconnect
impl NetworkDisconnect
Sourcepub fn new() -> NetworkDisconnect
pub fn new() -> NetworkDisconnect
NetworkDisconnect represents the data to be used to disconnect a container from the network
Trait Implementations§
Source§impl Clone for NetworkDisconnect
impl Clone for NetworkDisconnect
Source§fn clone(&self) -> NetworkDisconnect
fn clone(&self) -> NetworkDisconnect
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 NetworkDisconnect
impl Debug for NetworkDisconnect
Source§impl Default for NetworkDisconnect
impl Default for NetworkDisconnect
Source§fn default() -> NetworkDisconnect
fn default() -> NetworkDisconnect
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkDisconnect
impl<'de> Deserialize<'de> for NetworkDisconnect
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 NetworkDisconnect
impl PartialEq for NetworkDisconnect
Source§impl Serialize for NetworkDisconnect
impl Serialize for NetworkDisconnect
impl StructuralPartialEq for NetworkDisconnect
Auto Trait Implementations§
impl Freeze for NetworkDisconnect
impl RefUnwindSafe for NetworkDisconnect
impl Send for NetworkDisconnect
impl Sync for NetworkDisconnect
impl Unpin for NetworkDisconnect
impl UnwindSafe for NetworkDisconnect
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