Expand description
Top-level modules for the models package.
Order of models:
- Type of model
- Required common fields in alphabetical order
- Optional common fields in alphabetical order
- Required specific fields in alphabetical order
- Optional specific fields in alphabetical order
Modules§
Structs§
- Flag
Collection - Issued
Currency - Issued
Currency Amount - NoFlags
Iter - An iterator over the variants of NoFlags
- Path
Step - A PathStep represents an individual step along a Path.
- XChain
Bridge - 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.
- XRPL
Model Exception
Traits§
- Model
- A trait that implements basic functions to every model.
- ToAmount
- Validate
Currencies - 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
, orIssuedCurrency
. It provides a methodvalidate_currencies
that checks if the provided values are valid according to the XRPL specifications.