Struct podman_rest_client::v5::models::ManifestModifyOptions

source ·
pub struct ManifestModifyOptions {
Show 22 fields pub all: Option<bool>, pub annotation: Option<Vec<String>>, pub annotations: Option<HashMap<String, String>>, pub arch: Option<String>, pub artifact_annotations: Option<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>, pub artifact_type: Option<String>, pub features: Option<Vec<String>>, pub images: Option<Vec<String>>, pub index_annotation: Option<Vec<String>>, pub index_annotations: Option<HashMap<String, String>>, pub operation: Option<String>, pub os: Option<String>, pub os_features: Option<Vec<String>>, pub os_version: Option<String>, pub subject: Option<String>, pub variant: Option<String>,
}
Available on crate feature v5 only.
Expand description

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

Fields§

§all: Option<bool>

True when operating on a list to include all images

§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

§artifact_annotations: Option<HashMap<String, String>>§artifact_config: Option<String>§artifact_config_type: Option<String>§artifact_exclude_titles: Option<bool>§artifact_files: Option<Vec<String>>§artifact_layer_type: Option<String>§artifact_subject: Option<String>§artifact_type: 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.

§features: Option<Vec<String>>

Feature list for the item in the manifest list

§images: Option<Vec<String>>

Images is an optional list of image references to add to 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

§operation: Option<String>§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

Trait Implementations§

source§

impl Debug for ManifestModifyOptions

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ManifestModifyOptions

source§

fn default() -> ManifestModifyOptions

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ManifestModifyOptions

source§

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 Serialize for ManifestModifyOptions

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,