pub struct ConversionRequest {
    pub types: Option<TypeMeta>,
    pub uid: String,
    pub desired_api_version: String,
    pub objects: Vec<Value>,
}
Expand description

Part of ConversionReview which is set on input (i.e. generated by apiserver)

Fields

types: Option<TypeMeta>

TypeMeta of the ConversionReview this response was created from

This field dopied from the corresponding ConversionReview. It is not part of the Kubernetes API, it’s consumed only by kube.

uid: String

Random uid uniquely identifying this conversion call

desired_api_version: String

The API group and version the objects should be converted to

objects: Vec<Value>

The list of objects to convert

Note that list may contain one or more objects, in one or more versions.

Implementations

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.