Skip to main content

Module types

Module types 

Source
Expand description

Public value types — kept dependency-free on purpose so that reddb-client does not force a serde version on consumers.

Users that want to plug serde in can implement their own conversions on top of these types. They mirror the JSON-RPC shapes documented in PLAN_DRIVERS.md.

Structs§

BulkInsertResult
DeleteResult
DocumentItem
ExistsResult
InsertResult
KvItem
KvWatchEvent
ListOptions
ListResult
QueryResult
Shape returned by crate::Reddb::query. Field order matches the JSON-RPC protocol so cross-language tests are trivial.

Enums§

JsonValue
A small, hand-rolled JSON value used for insert / bulk_insert payloads. We intentionally do not depend on serde_json so that downstream crates can pick their own serde major version.
ValueOut
A scalar value as it comes out of a query. Mirrors the JSON-RPC row shape but with native Rust types.

Type Aliases§

Row