[][src]Struct k8s_openapi::api::core::v1::TypedLocalObjectReference

pub struct TypedLocalObjectReference {
    pub api_group: Option<String>,
    pub kind: String,
    pub name: String,
}

TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.

Fields

api_group: Option<String>

APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

kind: String

Kind is the type of resource being referenced

name: String

Name is the name of resource being referenced

Trait Implementations

impl Clone for TypedLocalObjectReference[src]

impl Debug for TypedLocalObjectReference[src]

impl Default for TypedLocalObjectReference[src]

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

impl PartialEq<TypedLocalObjectReference> for TypedLocalObjectReference[src]

impl Serialize for TypedLocalObjectReference[src]

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