A type-erased config key-value pair. More...
#include <userver/dynamic_config/storage_mock.hpp>
Public Member Functions | |
| template<typename Key > | |
| KeyValue (Key, VariableOfKey< Key > value) | |
| template<typename Key , typename Json , typename = impl::IsJson<Json>> | |
| KeyValue (Key, const Json &value) | |
Parses the value from formats::json::Value   | |
| impl::ConfigId | GetId () const | 
| For internal use only.   | |
| std::any | GetValue () const | 
| For internal use only.   | |
A type-erased config key-value pair.
Definition at line 26 of file storage_mock.hpp.
      
  | 
  inline | 
Uses the provided value directly. It can also be constructed in-place:
Definition at line 33 of file storage_mock.hpp.
      
  | 
  inline | 
Parses the value from formats::json::Value 
Definition at line 38 of file storage_mock.hpp.
      
  | 
  inline | 
For internal use only.
Definition at line 43 of file storage_mock.hpp.
      
  | 
  inline | 
For internal use only.
Definition at line 46 of file storage_mock.hpp.