Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. extern crate serde; // 1.0.78
  2. #[macro_use]
  3. extern crate serde_derive; // 1.0.78
  4.  
  5. use std::fmt::Debug;
  6. use serde::Deserialize;
  7.  
  8. #[derive(Deserialize)]
  9. struct Test<T1: for<'a>Deserialize<'a>,T2: for<'a>Deserialize<'a>> {
  10.     field1: T1,
  11.     field2: T2,
  12. }
  13.  
  14. fn main() {
  15.  
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top