Trait confql_data_resolver::Merge[][src]

pub trait Merge {
    fn merge(&mut self, mergee: Self) -> Result<&mut Self, DataResolverError>;
fn merge_at(
        &mut self,
        key: &str,
        mergee: Self
    ) -> Result<&mut Self, DataResolverError>; }
Expand description

Define methods for

  • merging one instance of a type into another instance of the same type
  • doing the above but instead under a specified key within the target instance

Required methods

Merge another instance into self, mutating self

Merge another instance into self at a specified key, mutating self

Implementations on Foreign Types

Implementors