Skip to main content

write_difference

Function write_difference 

Source
pub fn write_difference<W: Write>(
    schema: &'static Schema,
    diff: &DifferenceModel,
    out: W,
    options: &WriteOptions,
) -> Result<()>
Expand description

Write a difference model (IEC 61970-552 dm:DifferenceModel).

The counterpart of read_difference: a change file read in can be written back out. Statements are grouped by subject, reverse before forward, matching the published conformity change sets.

The difference’s own header is used unless options supplies one.