Struct bollard::container::StartContainerOptions
source · Expand description
Parameters used in the Start Container API
Examples
use bollard::container::StartContainerOptions;
StartContainerOptions{
detach_keys: "ctrl-^"
};
Fields§
§detach_keys: T
Override the key sequence for detaching a container. Format is a single character [a-Z]
or
ctrl-<value>
where <value>
is one of: a-z
, @
, ^
, [
, ,
or _
.
Trait Implementations§
source§impl<T: Clone> Clone for StartContainerOptions<T>where
T: AsRef<str>,
impl<T: Clone> Clone for StartContainerOptions<T>where
T: AsRef<str>,
source§fn clone(&self) -> StartContainerOptions<T>
fn clone(&self) -> StartContainerOptions<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 StartContainerOptions<T>where
T: AsRef<str>,
impl<T: Default> Default for StartContainerOptions<T>where
T: AsRef<str>,
source§fn default() -> StartContainerOptions<T>
fn default() -> StartContainerOptions<T>
Returns the “default value” for a type. Read more