Struct bollard::container::RestartContainerOptions
source · pub struct RestartContainerOptions {
pub t: isize,
}
Expand description
Parameters used in the Restart Container API
Example
use bollard::container::RestartContainerOptions;
RestartContainerOptions{
t: 30,
};
Fields§
§t: isize
Number of seconds to wait before killing the container.
Trait Implementations§
source§impl Clone for RestartContainerOptions
impl Clone for RestartContainerOptions
source§fn clone(&self) -> RestartContainerOptions
fn clone(&self) -> RestartContainerOptions
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 Debug for RestartContainerOptions
impl Debug for RestartContainerOptions
source§impl Default for RestartContainerOptions
impl Default for RestartContainerOptions
source§fn default() -> RestartContainerOptions
fn default() -> RestartContainerOptions
Returns the “default value” for a type. Read more