Struct k8_types::store::MetaItem [−][src]
pub struct MetaItem<S> where
S: StoreSpec, {
pub spec: S,
pub status: S::Status,
pub key: S::Key,
pub ctx: MetaItemContext,
}
Expand description
Metadata object. Used to be KVObject int sc-core
Fields
spec: S
status: S::Status
key: S::Key
ctx: MetaItemContext
Implementations
pub fn new<J>(key: J, spec: S, status: S::Status, ctx: MetaItemContext) -> Self where
J: Into<S::Key>,
Trait Implementations
Auto Trait Implementations
impl<S> RefUnwindSafe for MetaItem<S> where
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,
impl<S> Sync for MetaItem<S> where
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,
impl<S> UnwindSafe for MetaItem<S> where
S: UnwindSafe,
<S as StoreSpec>::Key: UnwindSafe,
<S as StoreSpec>::Status: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more