Skip to main content

Module types

Module types 

Source
Expand description

Common type aliases for Betfair identifiers and values.

Functions§

deserialize_optional_string_lenient
Deserializes an Option<String> from either a JSON string or number.
deserialize_optional_u32_lenient
Deserializes an Option<u32> leniently from a JSON number, numeric string, or empty string.
deserialize_selection_id
Deserializes a SelectionId from either a JSON number or string.

Type Aliases§

BetId
Betfair bet identifier.
CompetitionId
Competition identifier.
CustomerOrderRef
Customer order reference (max 32 characters).
CustomerStrategyRef
Customer strategy reference (max 15 characters).
EventId
Betfair event identifier.
EventTypeId
Betfair event type identifier.
ExchangeId
Betfair exchange identifier.
Handicap
Handicap value for Asian handicap markets.
MarketId
Betfair market identifier (e.g., “1.201070830”).
SelectionId
Betfair selection (runner) identifier.