Struct bollard::image::CommitContainerOptions
source · pub struct CommitContainerOptions<T>{
pub container: T,
pub repo: T,
pub tag: T,
pub comment: T,
pub author: T,
pub pause: bool,
pub changes: Option<T>,
}
Expand description
Parameters to the Commit Container API
§Examples
use bollard::image::CommitContainerOptions;
CommitContainerOptions {
container: "my-running-container",
pause: true,
..Default::default()
};
CommitContainerOptions::<String> {
..Default::default()
};
Fields§
§container: T
The ID or name of the container to commit.
repo: T
Repository name for the created image.
tag: T
Tag name for the create image.
comment: T
Commit message.
Author of the image.
pause: bool
Whether to pause the container before committing.
changes: Option<T>
Dockerfile
instructions to apply while committing
Trait Implementations§
source§impl<T> Clone for CommitContainerOptions<T>
impl<T> Clone for CommitContainerOptions<T>
source§fn clone(&self) -> CommitContainerOptions<T>
fn clone(&self) -> CommitContainerOptions<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 CommitContainerOptions<T>
impl<T> Debug for CommitContainerOptions<T>
source§impl<T> Default for CommitContainerOptions<T>
impl<T> Default for CommitContainerOptions<T>
source§fn default() -> CommitContainerOptions<T>
fn default() -> CommitContainerOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for CommitContainerOptions<T>
impl<T> PartialEq for CommitContainerOptions<T>
source§impl<T> Serialize for CommitContainerOptions<T>
impl<T> Serialize for CommitContainerOptions<T>
impl<T> StructuralPartialEq for CommitContainerOptions<T>
Auto Trait Implementations§
impl<T> Freeze for CommitContainerOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for CommitContainerOptions<T>where
T: RefUnwindSafe,
impl<T> Send for CommitContainerOptions<T>where
T: Send,
impl<T> Sync for CommitContainerOptions<T>where
T: Sync,
impl<T> Unpin for CommitContainerOptions<T>where
T: Unpin,
impl<T> UnwindSafe for CommitContainerOptions<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
)