Struct lapin_async::types::DecimalValue[][src]

pub struct DecimalValue {
    pub scale: u8,
    pub value: u32,
}

A Decimal value composed of a scale and a value

Fields

The scale of the value

The actual value

Trait Implementations

impl<'de> Deserialize<'de> for DecimalValue
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for DecimalValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Serialize for DecimalValue
[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for DecimalValue
[src]

Formats the value using the given formatter. Read more

impl PartialEq<DecimalValue> for DecimalValue
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations