Action Engine
Loading...
Searching...
No Matches
act::ChunkMetadata Struct Reference

Detailed Description

ActionEngine chunk metadata.

This structure is used to store metadata about a chunk of data in the ActionEngine format. It includes fields for mimetype and timestamp.

#include <actionengine/data/types.h>

Public Attributes

std::string mimetype = kMimetypeBytes
 
std::optional< absl::Time > timestamp
 
absl::flat_hash_map< std::string, std::string > attributes
 

Member Data Documentation

◆ attributes

absl::flat_hash_map<std::string, std::string> act::ChunkMetadata::attributes

Additional free-form attributes associated with the chunk.

This is a mapping of attribute names to their values, allowing for extensibility and the inclusion of custom metadata as needed.

◆ mimetype

std::string act::ChunkMetadata::mimetype = kMimetypeBytes

The mimetype of the data in the chunk.

◆ timestamp

std::optional<absl::Time> act::ChunkMetadata::timestamp

The timestamp associated with the chunk.


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