Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::cache::editor::StringWithTimestamp Struct Reference

#include <structs.hpp>

Classes

struct  Fields
 

Public Member Functions

 StringWithTimestamp (const JSON &cacheJSON)
 
 StringWithTimestamp (std::string value, iv::types::timestamp timestamp)
 
JSON toJSON () const
 
std::string_view getValue () const
 

Private Attributes

std::string value
 
iv::types::timestamp timestamp
 

Friends

struct GeneralCache
 

Constructor & Destructor Documentation

◆ StringWithTimestamp() [1/2]

iv::cache::editor::StringWithTimestamp::StringWithTimestamp ( const JSON & cacheJSON)
explicit

◆ StringWithTimestamp() [2/2]

iv::cache::editor::StringWithTimestamp::StringWithTimestamp ( std::string value,
iv::types::timestamp timestamp )
inline

Member Function Documentation

◆ getValue()

std::string_view iv::cache::editor::StringWithTimestamp::getValue ( ) const
inlinenodiscard

◆ toJSON()

JSON iv::cache::editor::StringWithTimestamp::toJSON ( ) const
nodiscard

Friends And Related Symbol Documentation

◆ GeneralCache

friend struct GeneralCache
friend

Member Data Documentation

◆ timestamp

iv::types::timestamp iv::cache::editor::StringWithTimestamp::timestamp
private

◆ value

std::string iv::cache::editor::StringWithTimestamp::value
private

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