pub struct ImageCommit<'a> {
pub container: Option<&'a str>,
pub repo: Option<&'a str>,
pub tag: Option<&'a str>,
pub comment: Option<&'a str>,
pub author: Option<&'a str>,
pub pause: Option<bool>,
pub changes: Option<&'a str>,
pub squash: Option<bool>,
}
Available on crate feature
v4
only.Fields§
§container: Option<&'a str>
the name or ID of a container
repo: Option<&'a str>
the repository name for the created image
tag: Option<&'a str>
tag name for the created image
comment: Option<&'a str>
commit message
author of the image
pause: Option<bool>
pause the container before committing it
changes: Option<&'a str>
instructions to apply while committing in Dockerfile format
squash: Option<bool>
squash newly built layers into a single new layer
Trait Implementations§
Source§impl<'a> Debug for ImageCommit<'a>
impl<'a> Debug for ImageCommit<'a>
Source§impl<'a> Default for ImageCommit<'a>
impl<'a> Default for ImageCommit<'a>
Source§fn default() -> ImageCommit<'a>
fn default() -> ImageCommit<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ImageCommit<'a>
impl<'a> RefUnwindSafe for ImageCommit<'a>
impl<'a> Send for ImageCommit<'a>
impl<'a> Sync for ImageCommit<'a>
impl<'a> Unpin for ImageCommit<'a>
impl<'a> UnwindSafe for ImageCommit<'a>
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