pub struct ImageCommitLibpod<'a> {
pub container: &'a str,
pub author: Option<&'a str>,
pub changes: Option<Vec<&'a str>>,
pub comment: Option<&'a str>,
pub format: Option<&'a str>,
pub pause: Option<bool>,
pub squash: Option<bool>,
pub repo: Option<&'a str>,
pub stream: Option<bool>,
pub tag: Option<&'a str>,
}
Available on crate feature
v4
only.Fields§
§container: &'a str
the name or ID of a container
author of the image
changes: Option<Vec<&'a str>>
instructions to apply while committing in Dockerfile format (i.e. “CMD=/bin/foo”)
comment: Option<&'a str>
commit message
format: Option<&'a str>
format of the image manifest and metadata (default “oci”)
pause: Option<bool>
pause the container before committing it
squash: Option<bool>
squash the container before committing it
repo: Option<&'a str>
the repository name for the created image
stream: Option<bool>
output from commit process
tag: Option<&'a str>
tag name for the created image
Trait Implementations§
Source§impl<'a> Debug for ImageCommitLibpod<'a>
impl<'a> Debug for ImageCommitLibpod<'a>
Source§impl<'a> Default for ImageCommitLibpod<'a>
impl<'a> Default for ImageCommitLibpod<'a>
Source§fn default() -> ImageCommitLibpod<'a>
fn default() -> ImageCommitLibpod<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ImageCommitLibpod<'a>
impl<'a> RefUnwindSafe for ImageCommitLibpod<'a>
impl<'a> Send for ImageCommitLibpod<'a>
impl<'a> Sync for ImageCommitLibpod<'a>
impl<'a> Unpin for ImageCommitLibpod<'a>
impl<'a> UnwindSafe for ImageCommitLibpod<'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