Trait serde_json_merge::merge::Merge
source · [−]pub trait Merge: Sized {
fn merge<T>(&mut self, other: &Self)
where
T: Traverser;
fn merge_recursive<T>(&mut self, other: &Self)
where
T: Traverser;
fn merge_by<T, F>(&mut self, other: &Self, merge: &mut F)
where
T: Traverser,
F: FnMut(&IndexPath, &mut Value, Option<&Value>) -> bool;
fn merge_by_recursive<T, F>(&mut self, other: &Self, merge: &mut F)
where
T: Traverser,
F: FnMut(&IndexPath, &mut Value, Option<&Value>) -> bool;
fn merged<T>(self, other: &Self) -> Self
where
T: Traverser,
{ ... }
fn merged_recursive<T>(self, other: &Self) -> Self
where
T: Traverser,
{ ... }
fn merged_by<T, F>(self, other: &Self, merge: &mut F) -> Self
where
T: Traverser,
F: FnMut(&IndexPath, &mut Value, Option<&Value>) -> bool,
{ ... }
fn merged_by_recursive<T, F>(self, other: &Self, merge: &mut F) -> Self
where
T: Traverser,
F: FnMut(&IndexPath, &mut Value, Option<&Value>) -> bool,
{ ... }
}
Required Methods
sourcefn merge_recursive<T>(&mut self, other: &Self)where
fn merge_recursive<T>(&mut self, other: &Self)where
T: Traverser,
Provided Methods
sourcefn merged_recursive<T>(self, other: &Self) -> Selfwhere