If the `Value` is a Vec , returns the associated Vec . Returns None otherwise.
(&self)
| 567 | /// If the `Value` is a Vec<i64>, returns the associated Vec<i64>. |
| 568 | /// Returns None otherwise. |
| 569 | pub fn as_i64_arr(&self) -> Option<&Vec<i64>> { |
| 570 | match self { |
| 571 | Value::IntegerArray(sa) => Some(sa), |
| 572 | _ => None, |
| 573 | } |
| 574 | } |
| 575 | } |
| 576 | |
| 577 | #[derive(Clone, Debug)] |