Skip to main content

diff

Function diff 

Source
pub fn diff(
    local: Option<&CustomAttributeRegistry>,
    remote: &[CustomAttribute],
) -> Vec<CustomAttributeDiff>
Expand description

Compare a local registry against a remote (Braze) attribute set and produce one CustomAttributeDiff per attribute name across both sides. Results are sorted by name.

Either side may be None (no local file yet, or no remote attributes). When both are None the result is empty.