Expand description
Diesel model structs (Queryable, Insertable, AsChangeset) for every
database table.
These are internal to the crate. Public consumers use the ORM-free domain
types from hypercall-db and the trait impls convert at the boundary.
Structs§
- BboSnapshot
- Persisted BBO snapshot used for 24h options summary change calculations.
- Competition
- Competition
Fill Event - Competition
Final Stat - Fill
- Historical
PnlSnapshot - Historical equity snapshot record for charting PnL/equity over time.
- Historical
Theo Snapshot - Historical theo snapshot record for charting theoretical option prices over time.
- Instrument
- Journal
Command ForReplay - Command data for engine replay after snapshot load. Contains the minimal data needed to replay a command through the engine. Stores command/response as wire bytes (version byte + msgpack).
- Ledger
Event - Liquidation
Auction Record - Liquidation auction record
- Liquidation
History Record - Liquidation history record - state transition audit trail
- Liquidation
State Record - Liquidation state record - current state for a wallet
- Market
- Market
Action Record - Market
Update Record - MmpConfig
- NewBbo
Snapshot - New persisted BBO snapshot for insertion/upsert.
- NewCompetition
- NewCompetition
Fill Event - NewCompetition
Final Stat - NewFill
- NewHistorical
PnlSnapshot - New historical equity snapshot for insertion/upsert.
- NewHistorical
Theo Snapshot - New historical theo snapshot for insertion/upsert.
- NewLedger
Event - NewLiquidation
Auction - New liquidation auction for insertion
- NewLiquidation
History - New liquidation history entry for insertion
- NewLiquidation
State - New liquidation state for insertion
- NewMarket
Action - NewMarket
Update - NewMmp
Config - NewNotification
- NewOracle
Price Sample - New oracle price sample for insertion
- NewOracle
Settlement Price - New oracle settlement price for insertion
- NewOrder
Action - NewOrder
Info - NewOrder
Update - NewPortfolio
Snapshot - NewPosition
Expiration - New position expiration for insertion
- NewPush
Subscription - NewQuote
Provider - NewRejected
Order - NewRfq
Fill - NewRfq
Leg - NewRfq
Quote - NewRfq
Quote Leg - NewRfq
Record - NewRsm
Signer Nonce - NewSettlement
Payout - New settlement payout for insertion
- NewSettlement
Payout Seen - New seen marker for insertion.
- NewTrade
- NewUser
Profile - NewUser
Tier - NewVol
Surface Snapshot Row - New vol surface snapshot for insertion/upsert.
- Notification
- Oracle
Price Sample - Oracle price sample record for TWAP computation
- Oracle
Settlement Price - Oracle settlement price record (finalized TWAP)
- Order
Action Record - Order
Info Record - Order
Update Record - Portfolio
Snapshot - Position
Expiration - Position expiration record for settlement idempotency
- Push
Subscription - Quote
Provider Record - Rejected
Order - RfqFill
Row - RfqLeg
Row - RfqQuote
LegRow - RfqQuote
Row - RfqRecord
Row - RsmSigner
Nonce Record - RsmSigner
Request Record - Settlement
Payout - Settlement payout record for audit trail
- Settlement
Payout Seen - Seen marker for a settlement payout (per wallet).
- Tier
Defaults - Default trading limits for each tier
- Trade
- Update
Competition - Update
Liquidation Auction - Auction update changeset
- Update
User Profile - User
Profile - User
Tier - VolSurface
Snapshot Row - Persisted vol surface snapshot for charting volatility surfaces over time.
Enums§
- Instrument
Status - Instrument status for expiry/settlement state machine