userver: userver/utils/statistics/rate.hpp File Reference
Loading...
Searching...
No Matches
rate.hpp File Reference
#include <cstdint>
#include <userver/formats/serialize/to.hpp>
+ Include dependency graph for rate.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  utils::statistics::Rate
 

Namespaces

namespace  utils
 Utilities.
 

Functions

Rate utils::statistics::operator+ (Rate first, Rate second) noexcept
 
template<typename ValueType >
ValueType utils::statistics::Serialize (const Rate &rate, ::formats::serialize::To< ValueType >)
 

Detailed Description

Definition in file rate.hpp.

Function Documentation

◆ operator+()

Rate utils::statistics::operator+ ( Rate  first,
Rate  second 
)
inlinenoexcept

Definition at line 42 of file rate.hpp.

◆ Serialize()

template<typename ValueType >
ValueType utils::statistics::Serialize ( const Rate rate,
::formats::serialize::To< ValueType >   
)

Definition at line 47 of file rate.hpp.