pub struct GetBalanceResp {
pub confirmed: Amount,
pub unconfirmed: Amount,
}Expand description
Response to the "blockchain.scripthash.get_balance" method.
Fields§
§confirmed: AmountThe confirmed balance in satoshis.
unconfirmed: AmountThe unconfirmed balance in satoshis (may be negative).
Trait Implementations§
Source§impl Clone for GetBalanceResp
impl Clone for GetBalanceResp
Source§fn clone(&self) -> GetBalanceResp
fn clone(&self) -> GetBalanceResp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetBalanceResp
impl Debug for GetBalanceResp
Source§impl<'de> Deserialize<'de> for GetBalanceResp
impl<'de> Deserialize<'de> for GetBalanceResp
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 Freeze for GetBalanceResp
impl RefUnwindSafe for GetBalanceResp
impl Send for GetBalanceResp
impl Sync for GetBalanceResp
impl Unpin for GetBalanceResp
impl UnsafeUnpin for GetBalanceResp
impl UnwindSafe for GetBalanceResp
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