tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
tde2e_api::Entry< T > Struct Template Reference

Public Types

enum  Source { Self , Server , Contact }
 

Public Member Functions

 Entry (Source source, std::uint32_t timestamp, T &&value)
 

Public Attributes

Source source
 
std::uint32_t timestamp
 
value
 

Detailed Description

template<class T>
struct tde2e_api::Entry< T >

Definition at line 192 of file e2e_api.h.

Member Enumeration Documentation

◆ Source

template<class T >
enum tde2e_api::Entry::Source

Definition at line 193 of file e2e_api.h.

193{ Self, Server, Contact };

Constructor & Destructor Documentation

◆ Entry() [1/2]

template<class T >
tde2e_api::Entry< T >::Entry ( )
inline

Definition at line 198 of file e2e_api.h.

198 : source(Self), timestamp(0), value() {
199 }

◆ Entry() [2/2]

template<class T >
tde2e_api::Entry< T >::Entry ( Source  source,
std::uint32_t  timestamp,
T &&  value 
)
inline

Definition at line 200 of file e2e_api.h.

201 : source(source), timestamp(timestamp), value(std::move(value)) {
202 }

Member Data Documentation

◆ source

template<class T >
Source tde2e_api::Entry< T >::source

Definition at line 194 of file e2e_api.h.

◆ timestamp

template<class T >
std::uint32_t tde2e_api::Entry< T >::timestamp

Definition at line 195 of file e2e_api.h.

◆ value

template<class T >
T tde2e_api::Entry< T >::value

Definition at line 196 of file e2e_api.h.


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