Back to Site
Loading...
Searching...
No Matches
librats::StorageChangeEvent Struct Reference

Storage change event - passed to change callbacks. More...

#include <storage.h>

Collaboration diagram for librats::StorageChangeEvent:
[legend]

Public Attributes

StorageOperation operation
 
std::string key
 
StorageValueType type
 
std::vector< uint8_t > old_data
 
std::vector< uint8_t > new_data
 
uint64_t timestamp_ms
 
std::string origin_peer_id
 
bool is_remote
 

Detailed Description

Storage change event - passed to change callbacks.

Definition at line 166 of file storage.h.

Member Data Documentation

◆ is_remote

bool librats::StorageChangeEvent::is_remote

Definition at line 174 of file storage.h.

◆ key

std::string librats::StorageChangeEvent::key

Definition at line 168 of file storage.h.

◆ new_data

std::vector<uint8_t> librats::StorageChangeEvent::new_data

Definition at line 171 of file storage.h.

◆ old_data

std::vector<uint8_t> librats::StorageChangeEvent::old_data

Definition at line 170 of file storage.h.

◆ operation

StorageOperation librats::StorageChangeEvent::operation

Definition at line 167 of file storage.h.

◆ origin_peer_id

std::string librats::StorageChangeEvent::origin_peer_id

Definition at line 173 of file storage.h.

◆ timestamp_ms

uint64_t librats::StorageChangeEvent::timestamp_ms

Definition at line 172 of file storage.h.

◆ type

StorageValueType librats::StorageChangeEvent::type

Definition at line 169 of file storage.h.


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