userver: chaotic::OneOfStringSettings< BuilderFunc > Struct Template Reference
Loading...
Searching...
No Matches
chaotic::OneOfStringSettings< BuilderFunc > Struct Template Reference

Detailed Description

template<typename BuilderFunc>
struct chaotic::OneOfStringSettings< BuilderFunc >

Definition at line 18 of file oneof_with_discriminator.hpp.

Public Types

using KeyType = std::string
 

Static Public Member Functions

static std::string_view FieldToString (const KeyType &key)
 

Public Attributes

std::string_view property_name
 
utils::TrivialSet< BuilderFunc > mapping
 

Member Typedef Documentation

◆ KeyType

template<typename BuilderFunc >
using chaotic::OneOfStringSettings< BuilderFunc >::KeyType = std::string

Definition at line 19 of file oneof_with_discriminator.hpp.

Member Function Documentation

◆ FieldToString()

template<typename BuilderFunc >
static std::string_view chaotic::OneOfStringSettings< BuilderFunc >::FieldToString ( const KeyType & key)
inlinestatic

Definition at line 24 of file oneof_with_discriminator.hpp.

Member Data Documentation

◆ mapping

template<typename BuilderFunc >
utils::TrivialSet<BuilderFunc> chaotic::OneOfStringSettings< BuilderFunc >::mapping

Definition at line 22 of file oneof_with_discriminator.hpp.

◆ property_name

template<typename BuilderFunc >
std::string_view chaotic::OneOfStringSettings< BuilderFunc >::property_name

Definition at line 21 of file oneof_with_discriminator.hpp.


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