2018-12-31 20:36:59 -06:00
|
|
|
use serde_derive::{Serialize, Deserialize};
|
2017-04-10 14:22:51 -05:00
|
|
|
|
|
|
|
mod remote {
|
|
|
|
pub struct S {
|
|
|
|
pub a: u8,
|
|
|
|
pub b: u8,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-27 20:08:41 -05:00
|
|
|
#[derive(Serialize, Deserialize)]
|
2017-04-10 14:22:51 -05:00
|
|
|
#[serde(remote = "remote::S")]
|
|
|
|
struct S {
|
2018-06-03 00:19:39 -05:00
|
|
|
a: u8,
|
2017-04-10 14:22:51 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|