Struct electrum_client::GetHistoryRes[][src]

pub struct GetHistoryRes {
    pub height: i32,
    pub tx_hash: Txid,
    pub fee: Option<u64>,
}
Expand description

Response to a script_get_history request.

Fields

height: i32

Confirmation height of the transaction. 0 if unconfirmed, -1 if unconfirmed while some of its inputs are unconfirmed too.

tx_hash: Txid

Txid of the transaction.

fee: Option<u64>

Fee of the transaction.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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.