Struct bollard::container::KillContainerOptions
source · 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> Clone for KillContainerOptions<T>where
T: AsRef<str>,
impl<T: Clone> Clone for KillContainerOptions<T>where
T: AsRef<str>,
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: Default> Default for KillContainerOptions<T>where
T: AsRef<str>,
impl<T: Default> Default for KillContainerOptions<T>where
T: AsRef<str>,
source§fn default() -> KillContainerOptions<T>
fn default() -> KillContainerOptions<T>
Returns the “default value” for a type. Read more