Trait fluvio_stream_model::core::MetadataItem[][src]

pub trait MetadataItem: Clone + Default + Debug + PartialEq {
    type UId: PartialEq;
    fn uid(&self) -> &Self::UId;
fn is_newer(&self, another: &Self) -> bool; fn is_being_deleted(&self) -> bool { ... }
fn set_labels<T: Into<String>>(self, _labels: Vec<(T, T)>) -> Self { ... }
fn get_labels(&self) -> HashMap<String, String> { ... } }

Associated Types

Loading content...

Required methods

fn uid(&self) -> &Self::UId[src]

fn is_newer(&self, another: &Self) -> bool[src]

checkif item is newer

Loading content...

Provided methods

fn is_being_deleted(&self) -> bool[src]

if object is process of being deleted

fn set_labels<T: Into<String>>(self, _labels: Vec<(T, T)>) -> Self[src]

set string labels

fn get_labels(&self) -> HashMap<String, String>[src]

get string labels

Loading content...

Implementations on Foreign Types

impl MetadataItem for u32[src]

type UId = u32

impl MetadataItem for u64[src]

type UId = u64

Loading content...

Implementors

Loading content...