diff_to_string_with_options

Function diff_to_string_with_options 

Source
pub fn diff_to_string_with_options<'mem, 'facet>(
    from: &'mem impl Facet<'facet>,
    to: &'mem impl Facet<'facet>,
    diff: &Diff<'mem, 'facet>,
    options: &DiffSerializeOptions,
) -> String
Expand description

Render a diff as XML to a String with custom options.

ยงArguments

  • from - The original value
  • to - The new value
  • diff - The diff between from and to
  • options - Serialization options