aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/common/geo_location_spec.h
blob: f1e3671181de840fc557f859e6988f93e379f48d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "geo_location.h"
#include <string>
#include <cstdint>

namespace search::common {

/**
 * Immutable specification of a geo-location query item.
 **/
struct GeoLocationSpec
{
public:
    const std::string field_name;
    const GeoLocation location;
};

} // namespace