Skip to main content

IntegerDatatype

Trait IntegerDatatype 

Source
pub trait IntegerDatatype {
    const LOCAL_NAME: &'static str;
}
Expand description

integer or one of its four sign-restricted forms, as a marker an Integer is parameterized by, so the field states which datatype it holds and its range is checked.

Required Associated Constants§

Source

const LOCAL_NAME: &'static str

The datatype’s local name in core-xsd, by which the codec’s one table gives its bounds.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl IntegerDatatype for NegativeInteger

Source§

const LOCAL_NAME: &'static str = "negativeInteger"

Source§

impl IntegerDatatype for NonNegativeInteger

Source§

const LOCAL_NAME: &'static str = "nonNegativeInteger"

Source§

impl IntegerDatatype for NonPositiveInteger

Source§

const LOCAL_NAME: &'static str = "nonPositiveInteger"

Source§

impl IntegerDatatype for PositiveInteger

Source§

const LOCAL_NAME: &'static str = "positiveInteger"

Source§

impl IntegerDatatype for XsdInteger

Source§

const LOCAL_NAME: &'static str = "integer"