podman_rest_client/v4/params/image_commit.rs
1#[derive(Default, Debug)]
2pub struct ImageCommit<'a> {
3 /// the name or ID of a container
4 pub container: Option<&'a str>,
5 /// the repository name for the created image
6 pub repo: Option<&'a str>,
7 /// tag name for the created image
8 pub tag: Option<&'a str>,
9 /// commit message
10 pub comment: Option<&'a str>,
11 /// author of the image
12 pub author: Option<&'a str>,
13 /// pause the container before committing it
14 pub pause: Option<bool>,
15 /// instructions to apply while committing in Dockerfile format
16 pub changes: Option<&'a str>,
17 /// squash newly built layers into a single new layer
18 pub squash: Option<bool>,
19}