• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 use serde_derive::{Deserialize, Serialize};
2 
3 mod remote {
4     pub struct Struct<T, U> {
5         pub t: T,
6         pub u: U,
7     }
8 }
9 
10 #[derive(Serialize, Deserialize)]
11 #[serde(remote = "remote::StructGeneric<u8>")]
12 struct StructDef<U> {
13     t: u8,
14     u: U,
15 }
16 
main()17 fn main() {}
18