Docs.rs
  • xsd-types-0.5.4
    • xsd-types 0.5.4
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • timothee-haudebourg
    • Dependencies
      • lazy_static ^1.4.0 normal
      • num-bigint ^0.4 normal
      • num-rational ^0.4 normal
      • num-traits ^0.2.15 normal
      • once_cell ^1.17.0 normal
      • ordered-float ^3.4.0 normal
      • pretty_dtoa ^0.3.0 normal
      • thiserror ^1.0.38 normal
    • Versions
    • 7.32% of the crate is documented
  • Go to latest version
  • 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
logo

logo

Module value

  • Structs
  • Enums
  • Traits
  • Functions
  • Type Definitions
?
Change settings

Module xsd_types::value

source ·

Structs

AnyUri
Base64Binary
Date
DateTime
Decimal
Decimal number.
DecimalCheck
Checks that a rational has a finite decimal representation.
Double
Duration
Float
GDay
GMonth
GMonthDay
GYear
GYearMonth
HexBinary
Integer
Integer number.
IntegerIsNegative
IntegerIsPositive
IntegerOutOfTargetBounds
NegativeInteger
NoDecimalRepresentation
Error raised when trying to create a decimal value from a rational without finite decimal representation.
NonNegativeInteger
NonNegativeIntegerOutOfTargetBounds
NonPositiveInteger
NonPositiveIntegerOutOfTargetBounds
Notation
PositiveInteger
QName
Time

Enums

NonDecimalFloat
Value
XSD datatype value.

Traits

XsdDatatype
XsdInt
XsdLong
XsdShort
XsdUnsignedInt
XsdUnsignedLong
XsdUnsignedShort

Functions

decimal_lexical_representation
Returns the decimal lexical representation of the given rational number, if any.
is_decimal
Checks that the given rational has a finite decimal representation.

Type Definitions

Boolean
Byte
Int
Long
Short
String
UnsignedByte
UnsignedInt
UnsignedLong
UnsignedShort