Struct fluvio_stream_dispatcher::store::k8::K8MetaItem [−][src]
pub struct K8MetaItem { /* fields omitted */ }
Implementations
create owner if exists, only worry about first references
Methods from Deref<Target = ObjectMeta>
pub fn make_owner_reference<S>(&self) -> OwnerReferences where
S: Spec,
pub fn make_owner_reference<S>(&self) -> OwnerReferences where
S: Spec,
create owner references point to this metadata if name or uid doesn’t exists return none
pub fn make_child_input_metadata<S>(&self, childname: String) -> InputObjectMeta where
S: Spec,
pub fn make_child_input_metadata<S>(&self, childname: String) -> InputObjectMeta where
S: Spec,
create child references that points to this
pub fn as_input(&self) -> InputObjectMeta
pub fn as_item(&self) -> ItemMeta
pub fn as_update(&self) -> UpdateItemMeta
Trait Implementations
Returns the “default value” for a type. Read more
Mutably dereferences the value.
get string labels
checkif item is newer
if object is process of being deleted
set string labels
for sake of comparison, we only care about couple of fields in the metadata
type Error = ParseIntError
type Error = ParseIntError
The type returned in the event of a conversion error.
pub fn try_from(
value: ObjectMeta
) -> Result<K8MetaItem, <K8MetaItem as TryFrom<ObjectMeta>>::Error>
pub fn try_from(
value: ObjectMeta
) -> Result<K8MetaItem, <K8MetaItem as TryFrom<ObjectMeta>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for K8MetaItem
impl Send for K8MetaItem
impl Sync for K8MetaItem
impl Unpin for K8MetaItem
impl UnwindSafe for K8MetaItem
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more