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

Detailed Description

Definition at line 56 of file command_options.hpp.

Public Types

enum class  Exist {
  kAddAlways ,
  kAddIfNotExist ,
  kAddIfExist
}
 
enum class  ReturnValue {
  kAddedCount ,
  kChangedCount
}
 

Public Member Functions

 ZaddOptions (Exist exist, ReturnValue return_value=ReturnValue::kAddedCount)
 
 ZaddOptions (ReturnValue return_value, Exist exist=Exist::kAddAlways)
 

Public Attributes

Exist exist = Exist::kAddAlways
 
ReturnValue return_value = ReturnValue::kAddedCount
 

Member Enumeration Documentation

◆ Exist

enum class redis::ZaddOptions::Exist
strong

Definition at line 57 of file command_options.hpp.

◆ ReturnValue

enum class redis::ZaddOptions::ReturnValue
strong

Definition at line 58 of file command_options.hpp.

Constructor & Destructor Documentation

◆ ZaddOptions() [1/2]

redis::ZaddOptions::ZaddOptions ( Exist exist,
ReturnValue return_value = ReturnValue::kAddedCount )
inline

Definition at line 61 of file command_options.hpp.

◆ ZaddOptions() [2/2]

redis::ZaddOptions::ZaddOptions ( ReturnValue return_value,
Exist exist = Exist::kAddAlways )
inline

Definition at line 63 of file command_options.hpp.

Member Data Documentation

◆ exist

Exist redis::ZaddOptions::exist = Exist::kAddAlways

Definition at line 66 of file command_options.hpp.

◆ return_value

ReturnValue redis::ZaddOptions::return_value = ReturnValue::kAddedCount

Definition at line 67 of file command_options.hpp.


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