Skip to main content

Module types

Module types 

Source
Expand description

Plugin interface types.

These types define the contract between the plugin host and plugins. They are serialized via MessagePack across the WASM boundary.

Structs§

AmountData
Amount data for serialization.
BalanceData
Balance assertion data.
CloseData
Close account data.
CommodityData
Commodity declaration data.
CostData
Cost data for serialization.
CustomData
Custom directive data.
DirectiveWrapper
A wrapper around directives for serialization.
DocumentData
Document data.
EventData
Event data.
NoteData
Note data.
OpenData
Open account data.
PadData
Pad directive data.
PluginError
Error generated by a plugin.
PluginInput
Input passed to a plugin.
PluginOptions
Ledger options passed to plugins.
PluginOutput
Output returned from a plugin.
PostingData
Posting data for serialization.
PriceAnnotationData
Price annotation data.
PriceData
Price directive data.
QueryData
Query directive data.
TransactionData
Transaction data for serialization.

Enums§

DirectiveData
Directive-specific data.
MetaValueData
Metadata value for serialization.
PluginErrorSeverity
Severity of a plugin error.

Functions§

sort_directives
Sort directives using beancount’s standard ordering.