[][src]Struct k8s_openapi::api::autoscaling::v1::CrossVersionObjectReference

pub struct CrossVersionObjectReference {
    pub api_version: Option<String>,
    pub kind: String,
    pub name: String,
}

CrossVersionObjectReference contains enough information to let you identify the referred resource.

Fields

api_version: Option<String>

API version of the referent

kind: String

Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"

name: String

Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names

Trait Implementations

impl PartialEq<CrossVersionObjectReference> for CrossVersionObjectReference[src]

impl Default for CrossVersionObjectReference[src]

impl Clone for CrossVersionObjectReference[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CrossVersionObjectReference[src]

impl Serialize for CrossVersionObjectReference[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

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