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