daily pastebin goal
78%
SHARE
TWEET

Untitled

a guest Feb 17th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #[derive(Debug)]
  2. struct MyJson {
  3.     datapoints: Vec<Vec<(f64, i64)>>
  4. }
  5.  
  6. fn main() {
  7.     let myjson = MyJson {
  8.         datapoints: vec![vec![(12.65, 20)], vec![(12.64, 21)]]
  9.     };
  10.    
  11.     println!("{:?}", myjson)
  12. }
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