podman_rest_client/v5/models/
manifest_annotate_options.rs

1use serde::{Deserialize, Serialize};
2#[derive(Default, Debug, Serialize, Deserialize)]
3/// ManifestAnnotateOptions provides model for annotating manifest list
4pub struct ManifestAnnotateOptions {
5    /// Annotation to add to the item in the manifest list
6    pub annotation: Option<Vec<String>>,
7    /// Annotations to add to the item in the manifest list by a map which is preferred over Annotation
8    pub annotations: Option<std::collections::HashMap<String, String>>,
9    /// Arch overrides the architecture for the item in the manifest list
10    pub arch: Option<String>,
11    /// Feature list for the item in the manifest list
12    pub features: Option<Vec<String>>,
13    /// IndexAnnotation is a slice of key=value annotations to add to the manifest list itself
14    pub index_annotation: Option<Vec<String>>,
15    /// IndexAnnotations is a map of key:value annotations to add to the manifest list itself, by a map which is preferred over IndexAnnotation
16    pub index_annotations: Option<std::collections::HashMap<String, String>>,
17    /// OS overrides the operating system for the item in the manifest list
18    pub os: Option<String>,
19    /// OS features for the item in the manifest list
20    pub os_features: Option<Vec<String>>,
21    /// OSVersion overrides the operating system for the item in the manifest list
22    pub os_version: Option<String>,
23    /// IndexSubject is a subject value to set in the manifest list itself
24    pub subject: Option<String>,
25    /// Variant for the item in the manifest list
26    pub variant: Option<String>,
27}