Apache OpenDALâ„¢ C Binding
The C binding for Apache OpenDALâ„¢
Loading...
Searching...
No Matches
opendal_write_user_metadata_pair Struct Reference

A key-value pair for write user metadata. More...

#include <opendal.h>

Public Attributes

const char * key
const char * value

Detailed Description

A key-value pair for write user metadata.

opendal_write_options.user_metadata points to an array of these pairs, and the operation reads the first user_metadata_len of them. A pair whose key or value is NULL is skipped.

Member Data Documentation

◆ key

const char* opendal_write_user_metadata_pair::key

The metadata key. A non-null key must point to a nul-terminated UTF-8 string that stays valid until the function that takes the options returns.

◆ value

const char* opendal_write_user_metadata_pair::value

The metadata value. A non-null value must point to a nul-terminated UTF-8 string that stays valid until the function that takes the options returns.


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