[][src]Crate object_merge

Traits

Combine

Combine two containers by combining all of their elements. This does not deduplicate anything for types which support multiple values of the same key.

CombineByKey

Combine and deduplicate items in a container that allows duplicates normally (such as Vec) while preserving the original element order.

Merge

Combine a type with a template of what values to use when they're unspecified in the self instance. On containers like maps, this will recursively call merge for elements that have the same key.

MergeByKey

Merge the elements in two containers using a custom function for getting the key that should be used for each element. This allows merging Vec.

MergeCombine

Combine two map-like containers by recursively calling Merge on elements that have the same key, and adding any missing key values from the template.

MergeCombineByKey

Merge and combine the elements in two containers using a custom function for getting the key that should be used for each element. This allows merging and combining Vec.

ShallowMerge

Used for types like Option when no recursive merging should be performed.