#pragma once #include #include namespace DB { struct SettingFieldOptionalUUID { std::optional value; explicit SettingFieldOptionalUUID(const std::optional & value_) : value(value_) {} explicit SettingFieldOptionalUUID(const Field & field); explicit operator Field() const { return Field(value ? toString(*value) : ""); } }; }