Struct electrum_client::GetHistoryRes
source · 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§
source§impl Clone for GetHistoryRes
impl Clone for GetHistoryRes
source§fn clone(&self) -> GetHistoryRes
fn clone(&self) -> GetHistoryRes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetHistoryRes
impl Debug for GetHistoryRes
source§impl<'de> Deserialize<'de> for GetHistoryRes
impl<'de> Deserialize<'de> for GetHistoryRes
source§fn 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more