Trait fluvio_sc_schema::store::DualDiff [−]
pub trait DualDiff { pub fn diff(&self, new_value: &Self) -> ChangeFlag; }
Required methods
pub fn diff(&self, new_value: &Self) -> ChangeFlag
check if another is different from myself
Implementors
impl<S, C> DualDiff for MetadataStoreObject<S, C> where
C: MetadataItem + PartialEq<C>,
S: Spec,
C: MetadataItem + PartialEq<C>,
S: Spec,
pub fn diff(&self, new_value: &MetadataStoreObject<S, C>) -> ChangeFlag
compute difference, in our case we take account of version as well