[]Struct fluvio_sc::dispatcher::k8::app::core::metadata::K8Obj

pub struct K8Obj<S> where
    S: Spec
{ pub api_version: String, pub kind: String, pub metadata: ObjectMeta, pub spec: S, pub header: <S as Spec>::Header, pub status: <S as Spec>::Status, }

Fields

api_version: Stringkind: Stringmetadata: ObjectMetaspec: Sheader: <S as Spec>::Headerstatus: <S as Spec>::Status

Implementations

impl<S> K8Obj<S> where
    S: Spec

pub fn new<N>(name: N, spec: S) -> K8Obj<S> where
    N: Into<String>, 

pub fn set_status(self, status: <S as Spec>::Status) -> K8Obj<S>

pub fn as_status_update(
    &self,
    status: <S as Spec>::Status
) -> UpdateK8ObjStatus<S>

impl<S> K8Obj<S> where
    S: Spec

pub fn as_input(&self) -> K8SpecObj<S, InputObjectMeta>

Trait Implementations

impl<S> Clone for K8Obj<S> where
    S: Clone + Spec,
    <S as Spec>::Header: Clone,
    <S as Spec>::Status: Clone

impl<S> Debug for K8Obj<S> where
    S: Debug + Spec,
    <S as Spec>::Header: Debug,
    <S as Spec>::Status: Debug

impl<S> Default for K8Obj<S> where
    S: Default + Spec,
    <S as Spec>::Header: Default,
    <S as Spec>::Status: Default

impl<'de, S> Deserialize<'de> for K8Obj<S> where
    S: Spec + DeserializeOwned

impl<S> Serialize for K8Obj<S> where
    S: Spec + Serialize

Auto Trait Implementations

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

impl<S> Send for K8Obj<S> where
    <S as Spec>::Header: Send,
    <S as Spec>::Status: Send
[src]

impl<S> Sync for K8Obj<S> where
    <S as Spec>::Header: Sync,
    <S as Spec>::Status: Sync
[src]

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

impl<S> UnwindSafe for K8Obj<S> where
    S: UnwindSafe,
    <S as Spec>::Header: 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> Erased for T

impl<T> From<T> for T[src]

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]