[−]Struct fluvio_sc::dispatcher::k8::app::core::metadata::store::MetaItem
Metadata object. Used to be KVObject int sc-core
Fields
spec: S
status: <S as StoreSpec>::Status
key: <S as StoreSpec>::Key
ctx: MetaItemContext
Implementations
impl<S> MetaItem<S> where
S: StoreSpec,
S: StoreSpec,
pub fn new<J>(
key: J,
spec: S,
status: <S as StoreSpec>::Status,
ctx: MetaItemContext
) -> MetaItem<S> where
J: Into<<S as StoreSpec>::Key>,
key: J,
spec: S,
status: <S as StoreSpec>::Status,
ctx: MetaItemContext
) -> MetaItem<S> where
J: Into<<S as StoreSpec>::Key>,
pub fn with_ctx(self, ctx: MetaItemContext) -> MetaItem<S>
pub fn key(&self) -> &<S as StoreSpec>::Key
pub fn key_owned(&self) -> <S as StoreSpec>::Key
pub fn my_key(self) -> <S as StoreSpec>::Key
pub fn spec(&self) -> &S
pub fn status(&self) -> &<S as StoreSpec>::Status
pub fn set_status(&mut self, status: <S as StoreSpec>::Status)
pub fn ctx(&self) -> &MetaItemContext
pub fn set_ctx(&mut self, ctx: MetaItemContext)
pub fn parts(self) -> (<S as StoreSpec>::Key, S, MetaItemContext)
pub fn is_owned(&self, uid: &str) -> bool
pub fn with_spec<J>(key: J, spec: S) -> MetaItem<S> where
J: Into<<S as StoreSpec>::Key>,
J: Into<<S as StoreSpec>::Key>,
Trait Implementations
impl<S> Clone for MetaItem<S> where
S: Clone + StoreSpec,
<S as StoreSpec>::Status: Clone,
<S as StoreSpec>::Key: Clone,
S: Clone + StoreSpec,
<S as StoreSpec>::Status: Clone,
<S as StoreSpec>::Key: Clone,
pub fn clone(&self) -> MetaItem<S>
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S> Debug for MetaItem<S> where
S: Debug + StoreSpec,
<S as StoreSpec>::Status: Debug,
<S as StoreSpec>::Key: Debug,
S: Debug + StoreSpec,
<S as StoreSpec>::Status: Debug,
<S as StoreSpec>::Key: Debug,
impl<S> Display for MetaItem<S> where
S: StoreSpec,
<S as StoreSpec>::Key: Display,
S: StoreSpec,
<S as StoreSpec>::Key: Display,
impl<S> Into<(<S as StoreSpec>::Key, S, <S as StoreSpec>::Status)> for MetaItem<S> where
S: StoreSpec,
S: StoreSpec,
impl<S> PartialEq<MetaItem<S>> for MetaItem<S> where
S: PartialEq<S> + StoreSpec,
<S as StoreSpec>::Status: PartialEq<<S as StoreSpec>::Status>,
<S as StoreSpec>::Key: PartialEq<<S as StoreSpec>::Key>,
S: PartialEq<S> + StoreSpec,
<S as StoreSpec>::Status: PartialEq<<S as StoreSpec>::Status>,
<S as StoreSpec>::Key: PartialEq<<S as StoreSpec>::Key>,
impl<S> StructuralPartialEq for MetaItem<S> where
S: StoreSpec,
S: StoreSpec,
Auto Trait Implementations
impl<S> RefUnwindSafe for MetaItem<S> where
S: RefUnwindSafe,
<S as StoreSpec>::Key: RefUnwindSafe,
<S as StoreSpec>::Status: RefUnwindSafe,
[src]
S: RefUnwindSafe,
<S as StoreSpec>::Key: RefUnwindSafe,
<S as StoreSpec>::Status: RefUnwindSafe,
impl<S> Send for MetaItem<S> where
S: Send,
<S as StoreSpec>::Key: Send,
<S as StoreSpec>::Status: Send,
[src]
S: Send,
<S as StoreSpec>::Key: Send,
<S as StoreSpec>::Status: Send,
impl<S> Sync for MetaItem<S> where
S: Sync,
<S as StoreSpec>::Key: Sync,
<S as StoreSpec>::Status: Sync,
[src]
S: Sync,
<S as StoreSpec>::Key: Sync,
<S as StoreSpec>::Status: Sync,
impl<S> Unpin for MetaItem<S> where
S: Unpin,
<S as StoreSpec>::Key: Unpin,
<S as StoreSpec>::Status: Unpin,
[src]
S: Unpin,
<S as StoreSpec>::Key: Unpin,
<S as StoreSpec>::Status: Unpin,
impl<S> UnwindSafe for MetaItem<S> where
S: UnwindSafe,
<S as StoreSpec>::Key: UnwindSafe,
<S as StoreSpec>::Status: UnwindSafe,
[src]
S: UnwindSafe,
<S as StoreSpec>::Key: UnwindSafe,
<S as StoreSpec>::Status: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,