userver: dynamic_config::ConfigDefault Struct Reference
Loading...
Searching...
No Matches
dynamic_config::ConfigDefault Struct Referencefinal

#include <userver/dynamic_config/snapshot.hpp>

Detailed Description

A config name-value pair for usage in dynamic_config::Key constructors.

Definition at line 27 of file snapshot.hpp.

+ Collaboration diagram for dynamic_config::ConfigDefault:

Public Member Functions

template<typename T >
 ConfigDefault (std::string_view name, const T &value)
 
 ConfigDefault (std::string_view name, DefaultAsJsonString default_json)
 

Public Attributes

std::string_view name
 
std::string default_json
 

Constructor & Destructor Documentation

◆ ConfigDefault()

template<typename T >
dynamic_config::ConfigDefault::ConfigDefault ( std::string_view name,
const T & value )

Definition at line 179 of file snapshot.hpp.

Member Data Documentation

◆ default_json

std::string dynamic_config::ConfigDefault::default_json

Definition at line 34 of file snapshot.hpp.

◆ name

std::string_view dynamic_config::ConfigDefault::name

Definition at line 33 of file snapshot.hpp.


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