2019-11-26 01:57:34 -06:00
|
|
|
use serde::{Deserialize, Serialize};
|
2019-10-31 13:32:06 -05:00
|
|
|
|
|
|
|
#[derive(Serialize)]
|
|
|
|
struct SerNamedMap<'a, 'b, A: 'a, B: 'b, C> {
|
|
|
|
a: &'a A,
|
|
|
|
b: &'b mut B,
|
|
|
|
c: C,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Deserialize)]
|
|
|
|
struct DeNamedMap<A, B, C> {
|
|
|
|
a: A,
|
|
|
|
b: B,
|
|
|
|
c: C,
|
|
|
|
}
|