Type Alias Decimal

Source
pub type Decimal = u32;
Expand description

Type used to represent decimal (i.e. integer) values.

Trait Implementations§

Source§

impl<'a> TryFrom<&Value<'a>> for Decimal

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: &Value<'a>) -> Result<Decimal>

Performs the conversion.
Source§

impl<'a> TryFrom<Value<'a>> for Decimal

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Value<'a>) -> Result<Decimal>

Performs the conversion.