Type Alias 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.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes