Trait fluvio_sc_schema::core::MetadataItem[]

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

Associated Types

type UId: PartialEq<Self::UId>

Required methods

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

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

checkif item is newer

Provided methods

fn is_being_deleted(&self) -> bool

if object is process of being deleted

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

set string labels

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

get string labels

Implementations on Foreign Types

impl MetadataItem for u64

type UId = u64

pub fn uid(&self) -> &<u64 as MetadataItem>::UId

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

impl MetadataItem for u32

type UId = u32

pub fn uid(&self) -> &<u32 as MetadataItem>::UId

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

Implementors