Struct electrum_client::GetHistoryRes
source · [−]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
sourceimpl Debug for GetHistoryRes
impl Debug for GetHistoryRes
sourceimpl<'de> Deserialize<'de> for GetHistoryRes
impl<'de> Deserialize<'de> for GetHistoryRes
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GetHistoryRes
impl Send for GetHistoryRes
impl Sync for GetHistoryRes
impl Unpin for GetHistoryRes
impl UnwindSafe for GetHistoryRes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more