pub fn as_struct_array(array: &dyn Array) -> Result<&StructArray>