#patch #partial #derive #struct-fields

macro no-std derive-patch

Macro to generate a struct with all field Optional (partial!) and another macro to generate a patch (patch!)

1 unstable release

0.0.1 Apr 11, 2020

#73 in #partial

Custom license

7KB
108 lines

Macro to generate a struct with all field Optional (partial!) and another macro to generate a patch (patch!).

ALPHA VERSION: DO NOT USE

more to come soon


lib.rs:

This crate contains 2 macros.

One for generating a partial Variant of an object. (Inspired by typescript Partial<Object>)

No runtime deps