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

#include <userver/dynamic_config/registered_config_meta.hpp>

Detailed Description

Metadata of a single registered dynamic config item.

Note
All fields reference storage owned by the global registry. Obtain metadata only after static initialization completes; the views remain valid until the registry is destroyed.

Definition at line 18 of file registered_config_meta.hpp.

Public Attributes

std::string_view name
std::string_view schema_hash
std::string_view default_as_json_string {}
 Default value of this config item as a JSON string.

Member Data Documentation

◆ default_as_json_string

std::string_view dynamic_config::RegisteredConfigMeta::default_as_json_string {}

Default value of this config item as a JSON string.

Definition at line 24 of file registered_config_meta.hpp.

◆ name

std::string_view dynamic_config::RegisteredConfigMeta::name

Definition at line 19 of file registered_config_meta.hpp.

◆ schema_hash

std::string_view dynamic_config::RegisteredConfigMeta::schema_hash

Opaque schema hash. Empty if the registering constructor did not provide schema metadata.

Definition at line 22 of file registered_config_meta.hpp.


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