| 746 | Result<std::shared_ptr<Scalar>> field(FieldRef ref) const; |
| 747 | |
| 748 | StructScalar(ValueType value, std::shared_ptr<DataType> type, bool is_valid = true) |
| 749 | : Scalar(std::move(type), is_valid), value(std::move(value)) {} |
| 750 | |
| 751 | static Result<std::shared_ptr<StructScalar>> Make(ValueType value, |
| 752 | std::vector<std::string> field_names); |