userver: redis::GeosearchOptions Struct Reference
Loading...
Searching...
No Matches
redis::GeosearchOptions Struct Reference

Detailed Description

Definition at line 36 of file command_options.hpp.

Public Types

enum class  Sort {
  kNone ,
  kAsc ,
  kDesc
}
 
enum class  Unit {
  kM ,
  kKm ,
  kMi ,
  kFt
}
 

Public Attributes

Unit unit = Unit::kM
 
bool withcoord = false
 
bool withdist = false
 
bool withhash = false
 
size_t count = 0
 
Sort sort = Sort::kNone
 

Member Enumeration Documentation

◆ Sort

enum class redis::GeosearchOptions::Sort
strong

Definition at line 37 of file command_options.hpp.

◆ Unit

enum class redis::GeosearchOptions::Unit
strong

Definition at line 38 of file command_options.hpp.

Member Data Documentation

◆ count

size_t redis::GeosearchOptions::count = 0

Definition at line 44 of file command_options.hpp.

◆ sort

Sort redis::GeosearchOptions::sort = Sort::kNone

Definition at line 45 of file command_options.hpp.

◆ unit

Unit redis::GeosearchOptions::unit = Unit::kM

Definition at line 40 of file command_options.hpp.

◆ withcoord

bool redis::GeosearchOptions::withcoord = false

Definition at line 41 of file command_options.hpp.

◆ withdist

bool redis::GeosearchOptions::withdist = false

Definition at line 42 of file command_options.hpp.

◆ withhash

bool redis::GeosearchOptions::withhash = false

Definition at line 43 of file command_options.hpp.


The documentation for this struct was generated from the following file: