title: Copy a struct to pass to a function - this field does not implement `Copy`
body: <p>Here is my struct:</p>
  
  <pre><code>#[derive(Copy, Clone)]
  pub struct ArimaModel {
      p: u8,
      d: u8,
      q: u8,
      holdout_length: u16,
      max_ar_lag: u8,
      max_ma_lag: u8,
      df_lags: u8,
      time_series: Vec&lt;f64&gt;,
      ar_lags: Vec&lt;usize&gt;,
  }
  </code></pre>
  
  <p>I am trying to pass my struct to multiple functions.</p>
  
  <p>Here is my error:</p>
  
  <pre class="lang-none prettyprint-override"><code>error[E0204]: the trait `Copy` may not be implemented for this type
    --&gt; src/lib.rs:1:10
     |
  1  | #[derive(Copy, Clone)]
     |          ^^^^
  ...
  10 |     time_series: Vec&lt;f64&gt;,
     |     --------------------- this field does not implement `Copy`
  11 |     ar_lags: Vec&lt;usize&gt;,
     |     ------------------- this field does not implement `Copy`
  </code></pre>