podman-rest-client 0.13.0

Interface for querying the podman REST API. Supports connections over SSH.
Documentation
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Serialize, Deserialize)]
/// ManifestModifyOptions provides the model for mutating a manifest
/// swagger 2.0 does not support oneOf for schema validation.
///
/// Operation "update" uses all fields.
/// Operation "remove" uses fields: Operation and Images
/// Operation "annotate" uses fields: Operation and Annotations
pub struct ManifestModifyOptions {
    /// True when operating on a list to include all images
    pub all: Option<bool>,
    /// Annotation to add to the item in the manifest list
    pub annotation: Option<Vec<String>>,
    /// Annotations to add to the item in the manifest list by a map which is preferred over Annotation
    pub annotations: Option<std::collections::HashMap<String, String>>,
    /// Arch overrides the architecture for the item in the manifest list
    pub arch: Option<String>,
    pub artifact_annotations: Option<std::collections::HashMap<String, String>>,
    pub artifact_config: Option<String>,
    pub artifact_config_type: Option<String>,
    pub artifact_exclude_titles: Option<bool>,
    pub artifact_files: Option<Vec<String>>,
    pub artifact_layer_type: Option<String>,
    pub artifact_subject: Option<String>,
    /// The following are all of the fields from ManifestAddArtifactOptions.
    /// We can't just embed the whole structure because it embeds a
    /// ManifestAnnotateOptions, which would conflict with the one that
    /// ManifestAddOptions embeds.
    pub artifact_type: Option<String>,
    /// Feature list for the item in the manifest list
    pub features: Option<Vec<String>>,
    /// Images is an optional list of image references to add to manifest list
    pub images: Option<Vec<String>>,
    /// IndexAnnotation is a slice of key=value annotations to add to the manifest list itself
    pub index_annotation: Option<Vec<String>>,
    /// IndexAnnotations is a map of key:value annotations to add to the manifest list itself, by a map which is preferred over IndexAnnotation
    pub index_annotations: Option<std::collections::HashMap<String, String>>,
    pub operation: Option<String>,
    /// OS overrides the operating system for the item in the manifest list
    pub os: Option<String>,
    /// OS features for the item in the manifest list
    pub os_features: Option<Vec<String>>,
    /// OSVersion overrides the operating system for the item in the manifest list
    pub os_version: Option<String>,
    /// IndexSubject is a subject value to set in the manifest list itself
    pub subject: Option<String>,
    /// Variant for the item in the manifest list
    pub variant: Option<String>,
}