Struct bollard::image::CommitContainerOptions [−][src]
pub struct CommitContainerOptions<T> where
T: Into<String> + Serialize, {
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
Returns the “default value” for a type. Read more
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more