Trait fluvio::metadata::core::MetadataItem[]

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

Associated Types

type UId: PartialEq<Self::UId>

Loading content...

Required methods

pub fn uid(&self) -> &Self::UId

pub fn is_newer(&self, another: &Self) -> bool

checkif item is newer

Loading content...

Provided methods

pub fn is_being_deleted(&self) -> bool

if object is process of being deleted

pub fn set_labels<T>(self, _labels: Vec<(T, T), Global>) -> Self where
    T: Into<String>, 

set string labels

pub fn get_labels(&self) -> HashMap<String, String, RandomState>

get string labels

Loading content...

Implementations on Foreign Types

impl MetadataItem for u64

type UId = u64

impl MetadataItem for u32

type UId = u32

Loading content...

Implementors

Loading content...