Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

Wire type vs app type

The full comparison is with_conversion vs with_domain_type.

NameRole
Decimal (schema composite)Wire: generated type / price_value(), what is in the buffer
Cents, rust_decimal::Decimal, …App: what your code wants to use
  app  ──price_from / price(v)──►  wire Decimal on the buffer
  buf  ──price_as / price()──►    app value