Type Definition password_hash::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

§

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

§

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.