diff_to_writer_with_options

Function diff_to_writer_with_options 

Source
pub fn diff_to_writer_with_options<'mem, 'facet, W: Write>(
    from: &'mem impl Facet<'facet>,
    to: &'mem impl Facet<'facet>,
    diff: &Diff<'mem, 'facet>,
    writer: &mut W,
    options: &DiffSerializeOptions,
) -> Result
Expand description

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

ยงArguments

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