pub struct ManifestAnnotateOptions {
pub annotation: Option<Vec<String>>,
pub annotations: Option<HashMap<String, String>>,
pub arch: Option<String>,
pub features: Option<Vec<String>>,
pub index_annotation: Option<Vec<String>>,
pub index_annotations: Option<HashMap<String, String>>,
pub os: Option<String>,
pub os_features: Option<Vec<String>>,
pub os_version: Option<String>,
pub subject: Option<String>,
pub variant: Option<String>,
}
Expand description
ManifestAnnotateOptions : ManifestAnnotateOptions provides model for annotating manifest list
Fields§
§annotation: Option<Vec<String>>
Annotation to add to the item in the manifest list
annotations: Option<HashMap<String, String>>
Annotations to add to the item in the manifest list by a map which is preferred over Annotation
arch: Option<String>
Arch overrides the architecture for the item in the manifest list
features: Option<Vec<String>>
Feature list for the item in the manifest list
index_annotation: Option<Vec<String>>
IndexAnnotation is a slice of key=value annotations to add to the manifest list itself
index_annotations: Option<HashMap<String, String>>
IndexAnnotations is a map of key:value annotations to add to the manifest list itself, by a map which is preferred over IndexAnnotation
os: Option<String>
OS overrides the operating system for the item in the manifest list
os_features: Option<Vec<String>>
OS features for the item in the manifest list
os_version: Option<String>
OSVersion overrides the operating system for the item in the manifest list
subject: Option<String>
IndexSubject is a subject value to set in the manifest list itself
variant: Option<String>
Variant for the item in the manifest list
Implementations§
source§impl ManifestAnnotateOptions
impl ManifestAnnotateOptions
sourcepub fn new() -> ManifestAnnotateOptions
pub fn new() -> ManifestAnnotateOptions
ManifestAnnotateOptions provides model for annotating manifest list
Trait Implementations§
source§impl Clone for ManifestAnnotateOptions
impl Clone for ManifestAnnotateOptions
source§fn clone(&self) -> ManifestAnnotateOptions
fn clone(&self) -> ManifestAnnotateOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManifestAnnotateOptions
impl Debug for ManifestAnnotateOptions
source§impl Default for ManifestAnnotateOptions
impl Default for ManifestAnnotateOptions
source§fn default() -> ManifestAnnotateOptions
fn default() -> 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>,
source§impl PartialEq for ManifestAnnotateOptions
impl PartialEq for ManifestAnnotateOptions
source§fn eq(&self, other: &ManifestAnnotateOptions) -> bool
fn eq(&self, other: &ManifestAnnotateOptions) -> bool
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)