[][src]Struct k8_obj_metadata::UpdateK8ObjStatus

pub struct UpdateK8ObjStatus<S> where
    S: Spec
{ pub api_version: String, pub kind: String, pub metadata: UpdateItemMeta, pub status: S::Status, pub data: PhantomData<S>, }

Used for updating k8obj

Fields

api_version: Stringkind: Stringmetadata: UpdateItemMetastatus: S::Statusdata: PhantomData<S>

Implementations

impl<S> UpdateK8ObjStatus<S> where
    S: Spec
[src]

pub fn new(status: S::Status, metadata: UpdateItemMeta) -> Self[src]

Trait Implementations

impl<S: Clone> Clone for UpdateK8ObjStatus<S> where
    S: Spec,
    S::Status: Clone
[src]

impl<S: Debug> Debug for UpdateK8ObjStatus<S> where
    S: Spec,
    S::Status: Debug
[src]

impl<S: Default> Default for UpdateK8ObjStatus<S> where
    S: Spec,
    S::Status: Default
[src]

impl<'de, S> Deserialize<'de> for UpdateK8ObjStatus<S> where
    S: Spec,
    S::Status: Deserialize<'de>, 
[src]

impl<S> Serialize for UpdateK8ObjStatus<S> where
    S: Spec,
    S::Status: Serialize
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for UpdateK8ObjStatus<S> where
    S: RefUnwindSafe,
    <S as Spec>::Status: RefUnwindSafe
[src]

impl<S> Send for UpdateK8ObjStatus<S> where
    <S as Spec>::Status: Send
[src]

impl<S> Sync for UpdateK8ObjStatus<S> where
    <S as Spec>::Status: Sync
[src]

impl<S> Unpin for UpdateK8ObjStatus<S> where
    S: Unpin,
    <S as Spec>::Status: Unpin
[src]

impl<S> UnwindSafe for UpdateK8ObjStatus<S> where
    S: UnwindSafe,
    <S as Spec>::Status: UnwindSafe
[src]

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> Instrument 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.