Trait Changes
k8_diff
pub trait Changes { type Replace; type Patch; fn diff( &self, new: &Self ) -> Result<Diff<Self::Replace, Self::Patch>, DiffError>; }
type Replace
type Patch
fn diff( &self, new: &Self) -> Result<Diff<Self::Replace, Self::Patch>, DiffError>
impl Changes for Value
type Replace = Value
type Patch = PatchObject
fn diff(&self, new: &Self) -> Result<Diff<Value, PatchObject>, DiffError>