Macro versioned::impl_from_with_proxy
source · [−]macro_rules! impl_from_with_proxy {
($t:ty, $t_versioned:ty, $t_json:ty) => { ... };
}
Expand description
Macro that implements From trait for 2-way conversion between the orignal type and the target json type, via an intermidate versioned type that is convertible from and to both orignal and target types. It also implements BinProtSerializationType and JsonSerializationType for convenience