Skip to main content

merge_changes

Function merge_changes 

Source
pub fn merge_changes(
    entity: &EntityInfo,
    original: &Object,
    mine: &Object,
    stored: &Object,
) -> Merged
Expand description

Puts together what a person changed, from original to mine, and what is stored now. Changes to different fields both stand, so only changing the same field takes a decision.