#include <userver/utils/statistics/labels.hpp>
Non owning label name+value storage.
Definition at line 17 of file labels.hpp.
Public Member Functions | |
LabelView (Label &&label)=delete | |
LabelView (const Label &label) noexcept | |
constexpr | LabelView (std::string_view name, std::string_view value) noexcept |
template<class T , std::enable_if_t< std::is_arithmetic_v< T > > * = nullptr> | |
constexpr | LabelView (std::string_view, T) |
constexpr | operator bool () const |
constexpr std::string_view | Name () const |
constexpr std::string_view | Value () const |
|
inlineconstexprnoexcept |
Definition at line 22 of file labels.hpp.
|
inlineconstexpr |
Definition at line 25 of file labels.hpp.
|
inlineconstexpr |
Definition at line 31 of file labels.hpp.
Definition at line 29 of file labels.hpp.
|
inlineconstexpr |
Definition at line 32 of file labels.hpp.