pub struct ManifestAnnotateOptions {
pub annotation: Option<Vec<String>>,
pub annotations: Option<HashMap<String, String>>,
pub arch: Option<String>,
pub features: Option<Vec<String>>,
pub os: Option<String>,
pub os_features: Option<Vec<String>>,
pub os_version: Option<String>,
pub variant: Option<String>,
}
Expand description
ManifestAnnotateOptions provides model for annotating manifest list
Fields§
§annotation: Option<Vec<String>>
Annotation to add to manifest list
annotations: Option<HashMap<String, String>>
Annotations to add to manifest list by a map which is prefferred over Annotation
arch: Option<String>
Arch overrides the architecture for the image
features: Option<Vec<String>>
Feature list for the image
os: Option<String>
OS overrides the operating system for the image
os_features: Option<Vec<String>>
OS features for the image
os_version: Option<String>
OSVersion overrides the operating system for the image
variant: Option<String>
Variant for the image
Trait Implementations§
Source§impl Clone for ManifestAnnotateOptions
impl Clone for ManifestAnnotateOptions
Source§fn clone(&self) -> ManifestAnnotateOptions
fn clone(&self) -> ManifestAnnotateOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ManifestAnnotateOptions
impl Debug for ManifestAnnotateOptions
Source§impl<'de> Deserialize<'de> for ManifestAnnotateOptions
impl<'de> Deserialize<'de> for ManifestAnnotateOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ManifestAnnotateOptions
impl PartialEq for ManifestAnnotateOptions
Source§fn eq(&self, other: &ManifestAnnotateOptions) -> bool
fn eq(&self, other: &ManifestAnnotateOptions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for ManifestAnnotateOptions
impl Serialize for ManifestAnnotateOptions
impl StructuralPartialEq for ManifestAnnotateOptions
Auto Trait Implementations§
impl Freeze for ManifestAnnotateOptions
impl RefUnwindSafe for ManifestAnnotateOptions
impl Send for ManifestAnnotateOptions
impl Sync for ManifestAnnotateOptions
impl Unpin for ManifestAnnotateOptions
impl UnwindSafe for ManifestAnnotateOptions
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