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
source§impl PartialEq for RestartContainerOptions
impl PartialEq for RestartContainerOptions
source§impl Serialize for RestartContainerOptions
impl Serialize for RestartContainerOptions
impl Copy for RestartContainerOptions
impl StructuralPartialEq for RestartContainerOptions
Auto Trait Implementations§
impl Freeze for RestartContainerOptions
impl RefUnwindSafe for RestartContainerOptions
impl Send for RestartContainerOptions
impl Sync for RestartContainerOptions
impl Unpin for RestartContainerOptions
impl UnwindSafe for RestartContainerOptions
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
)