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

Enum DiffCommandField

src/difference.rs:327–335  ·  view source on GitHub ↗

This monstrosity is based off the output of the derive macro for DiffCommand. The justification for this is that we want to use Deserialize::deserialize_in_place for DiffCommand::Value in order to support zero-copy deserialization of T. This is achieved by passing &mut T through the DiffCommandDeserWrapper, which parses the enum to the DeserWrapper which calls Deserialize::deserialize_in_place.

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