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

Class Apply

src/apply.rs:27–29  ·  view source on GitHub ↗

A deserializable structure that will apply a sequence of diff commands to the target # Examples ```rust use serde_diff::{SerdeDiff, Diff, Apply}; use serde::{Serialize, Deserialize}; #[derive(SerdeDiff, Serialize, Deserialize, PartialEq)] struct Test { a: i32, } let diff = Diff::serializable(&Test { a: 3 }, &Test { a: 5 }); let msgpack_data = rmp_serde::to_vec_named(&diff).expect("failed to seri

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