[][src]Struct openshift_openapi::api::image::v1::RepositoryImportSpec

pub struct RepositoryImportSpec {
    pub from: ObjectReference,
    pub import_policy: Option<TagImportPolicy>,
    pub include_manifest: Option<bool>,
    pub reference_policy: Option<TagReferencePolicy>,
}

RepositoryImportSpec describes a request to import images from a container image repository.

Fields

from: ObjectReference

From is the source for the image repository to import; only kind DockerImage and a name of a container image repository is allowed

import_policy: Option<TagImportPolicy>

ImportPolicy is the policy controlling how the image is imported

include_manifest: Option<bool>

IncludeManifest determines if the manifest for each image is returned in the response

reference_policy: Option<TagReferencePolicy>

ReferencePolicy defines how other components should consume the image

Trait Implementations

impl Clone for RepositoryImportSpec[src]

impl Debug for RepositoryImportSpec[src]

impl Default for RepositoryImportSpec[src]

impl<'de> Deserialize<'de> for RepositoryImportSpec[src]

impl PartialEq<RepositoryImportSpec> for RepositoryImportSpec[src]

impl Serialize for RepositoryImportSpec[src]

impl StructuralPartialEq for RepositoryImportSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.