Struct bollard::container::KillContainerOptions
source · pub struct KillContainerOptions<T>{
pub signal: T,
}
Expand description
Parameters used in the Kill Container API
§Examples
use bollard::container::KillContainerOptions;
KillContainerOptions{
signal: "SIGINT",
};
Fields§
§signal: T
Signal to send to the container as an integer or string (e.g. SIGINT
)
Trait Implementations§
source§impl<T> Clone for KillContainerOptions<T>
impl<T> Clone for KillContainerOptions<T>
source§fn clone(&self) -> KillContainerOptions<T>
fn clone(&self) -> KillContainerOptions<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 KillContainerOptions<T>
impl<T> Debug for KillContainerOptions<T>
source§impl<T> Default for KillContainerOptions<T>
impl<T> Default for KillContainerOptions<T>
source§fn default() -> KillContainerOptions<T>
fn default() -> KillContainerOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for KillContainerOptions<T>
impl<T> PartialEq for KillContainerOptions<T>
source§impl<T> Serialize for KillContainerOptions<T>
impl<T> Serialize for KillContainerOptions<T>
impl<T> StructuralPartialEq for KillContainerOptions<T>
Auto Trait Implementations§
impl<T> Freeze for KillContainerOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for KillContainerOptions<T>where
T: RefUnwindSafe,
impl<T> Send for KillContainerOptions<T>where
T: Send,
impl<T> Sync for KillContainerOptions<T>where
T: Sync,
impl<T> Unpin for KillContainerOptions<T>where
T: Unpin,
impl<T> UnwindSafe for KillContainerOptions<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
)