IntoPatch

Trait IntoPatch 

Source
pub trait IntoPatch<TPatch> {
    // Required method
    fn patch(self, options: &UpsertOptions) -> TPatch;
}
Expand description

Trait for converting a value into a patch, used for upsert.

Required Methods§

Source

fn patch(self, options: &UpsertOptions) -> TPatch

Convert self into a patch, optionally ignoring null values.

Implementors§