userver: redis::SetOptions Struct Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
redis::SetOptions Struct Reference

Public Types

enum class  Exist {
  kSetAlways ,
  kSetIfNotExist ,
  kSetIfExist
}
 

Public Attributes

int seconds = 0
 
int milliseconds = 0
 
Exist exist = Exist::kSetAlways
 

Detailed Description

Definition at line 48 of file command_options.hpp.

Member Enumeration Documentation

◆ Exist

enum class redis::SetOptions::Exist
strong

Definition at line 49 of file command_options.hpp.

Member Data Documentation

◆ exist

Exist redis::SetOptions::exist = Exist::kSetAlways

Definition at line 53 of file command_options.hpp.

◆ milliseconds

int redis::SetOptions::milliseconds = 0

Definition at line 52 of file command_options.hpp.

◆ seconds

int redis::SetOptions::seconds = 0

Definition at line 51 of file command_options.hpp.


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