Struct snapps_txn_reference_impl::party::SignedAmount[][src]

pub struct SignedAmount {
    pub sign: Sign,
    pub magnitude: u64,
}
Expand description

A signed amount, which records whether it is positive or negative.

Fields

sign: Sign

True if positive, false if negative.

magnitude: u64

The magnitude of the amount.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.