MCPcopy Create free account
hub / github.com/amethyst/serde-diff / Diff

Class Diff

src/difference.rs:231–238  ·  view source on GitHub ↗

A serializable structure that will produce a sequence of diff commands when serialized. You can pass this to a serializer, or use the convenience method `diff` to pass your serializer along with old/new values to use when serializing the diff. # Examples ```rust use serde_diff::{SerdeDiff, Diff}; use serde::{Serialize, Deserialize}; #[derive(SerdeDiff, Serialize, Deserialize, PartialEq)] struct

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected