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

pub struct ImageStreamMapping {
    pub image: Image,
    pub metadata: ObjectMeta,
    pub tag: String,
}

ImageStreamMapping represents a mapping from a single tag to a container image as well as the reference to the container image stream the image came from.

Fields

image: Image

Image is a container image.

metadata: ObjectMeta

Standard object's metadata.

tag: String

Tag is a string value this image can be located with inside the stream.

Implementations

impl ImageStreamMapping[src]

pub fn create_namespaced_image_stream_mapping(
    namespace: &str,
    body: &ImageStreamMapping,
    optional: CreateOptional<'_>
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]

create an ImageStreamMapping

Use the returned k8s_openapi::ResponseBody<k8s_openapi::CreateResponse<Self>> constructor, or k8s_openapi::CreateResponse<Self> directly, to parse the HTTP response.

Arguments

  • namespace

    object name and auth scope, such as for teams and projects

  • body

  • optional

    Optional parameters. Use Default::default() to not pass any.

Trait Implementations

impl Clone for ImageStreamMapping[src]

impl Debug for ImageStreamMapping[src]

impl Default for ImageStreamMapping[src]

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

impl Metadata for ImageStreamMapping[src]

type Ty = ObjectMeta

The type of the metadata object.

impl PartialEq<ImageStreamMapping> for ImageStreamMapping[src]

impl Resource for ImageStreamMapping[src]

impl Serialize for ImageStreamMapping[src]

impl StructuralPartialEq for ImageStreamMapping[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.