Module models

Source
Expand description

Top-level modules for the models package.

Order of models:

  1. Type of model
  2. Required common fields in alphabetical order
  3. Optional common fields in alphabetical order
  4. Required specific fields in alphabetical order
  5. Optional specific fields in alphabetical order

Modules§

issued_currency
ledger
requests
results
transactions
xrp

Structs§

FlagCollection
IssuedCurrency
IssuedCurrencyAmount
NoFlagsIter
An iterator over the variants of NoFlags
PathStep
A PathStep represents an individual step along a Path.
XChainBridge
XRP
XRPAmount
Represents an amount of XRP in Drops.

Enums§

Amount
Currency
NoFlags
Represents the type of flags when the XRPL model has no flags.
XRPLModelException

Traits§

Model
A trait that implements basic functions to every model.
ToAmount
ValidateCurrencies
Trait for validating currencies in models. This is needed to use xrpl-rust-macros for deriving validation methods. This trait is implemented by models that contain fields of type Amount, XRPAmount, IssuedCurrencyAmount, Currency, XRP, or IssuedCurrency. It provides a method validate_currencies that checks if the provided values are valid according to the XRPL specifications.

Type Aliases§

XRPLModelResult