main.rs
 1  #[derive(Debug)]
 2  struct Rectangle {
 3      width: u32,
 4      height: u32,
 5  }
 6  
 7  fn main() {
 8      let rect1 = Rectangle {
 9          width: 30,
10          height: 50,
11      };
12  
13      println!("rect1 is {:?}", rect1);
14  }