Docs.rs
xand_money-2.0.4
xand_money 2.0.4
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Xandkeeper
Dependencies
rust_decimal ^1.6
normal
serde ^1.0
normal
thiserror ^1.0
normal
Versions
30.77%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate xand_money
xand_
money
2.0.4
All Items
Crate Items
Modules
Structs
Enums
Traits
Type Aliases
Crate
xand_
money
Copy item path
Source
Modules
§
consts
Structs
§
Decimal
Decimal
represents a 128 bit representation of a fixed-precision decimal number. The finite set of values of type
Decimal
are of the form m / 10
e
, where m is an integer such that -2
96
< m < 2
96
, and e is an integer between 0 and 28 inclusive.
Usd
A representation of USD implementing
Money
Xand
Enums
§
Money
Error
Internal xand banks error handling logic for numeric currency values
Traits
§
Money
This trait can be implemented as different currencies, providing a common interface to work with fiat money.
Type Aliases
§
Result