pub type Decimal = u32;
Type used to represent decimal (i.e. integer) values.
impl<'a> TryFrom<&'_ Value<'a>> for Decimal
type Error = Error
The type returned in the event of a conversion error.
fn try_from(value: &Value<'a>) -> Result<Decimal>
Performs the conversion.
impl<'a> TryFrom<Value<'a>> for Decimal
fn try_from(value: Value<'a>) -> Result<Decimal>