pub fn merge<T: Serialize + DeserializeOwned>(
    base: &T,
    overrides: &T
) -> Result<T, Error>
Expand description

deep merge two structs that are serializable. based on turning them into json::Value and merging that.

Errors

Will return an error if serialization fails