pub struct GetBalanceRequest {
pub address: BitcoinAddress,
pub network: BitcoinNetwork,
pub min_confirmations: Option<u32>,
}
Expand description
Argument type of bitcoin_get_balance.
Fields§
§address: BitcoinAddress
See BitcoinAddress.
network: BitcoinNetwork
See BitcoinNetwork.
min_confirmations: Option<u32>
Minimum number of confirmations. There is an upper bound of 144. Typically set to a value around 6 in practice.
Trait Implementations§
Source§impl CandidType for GetBalanceRequest
impl CandidType for GetBalanceRequest
Source§impl Clone for GetBalanceRequest
impl Clone for GetBalanceRequest
Source§fn clone(&self) -> GetBalanceRequest
fn clone(&self) -> GetBalanceRequest
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 GetBalanceRequest
impl Debug for GetBalanceRequest
Source§impl Default for GetBalanceRequest
impl Default for GetBalanceRequest
Source§fn default() -> GetBalanceRequest
fn default() -> GetBalanceRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetBalanceRequest
impl<'de> Deserialize<'de> for GetBalanceRequest
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
Source§impl Hash for GetBalanceRequest
impl Hash for GetBalanceRequest
Source§impl Ord for GetBalanceRequest
impl Ord for GetBalanceRequest
Source§fn cmp(&self, other: &GetBalanceRequest) -> Ordering
fn cmp(&self, other: &GetBalanceRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GetBalanceRequest
impl PartialEq for GetBalanceRequest
Source§impl PartialOrd for GetBalanceRequest
impl PartialOrd for GetBalanceRequest
Source§impl Serialize for GetBalanceRequest
impl Serialize for GetBalanceRequest
impl Eq for GetBalanceRequest
impl StructuralPartialEq for GetBalanceRequest
Auto Trait Implementations§
impl Freeze for GetBalanceRequest
impl RefUnwindSafe for GetBalanceRequest
impl Send for GetBalanceRequest
impl Sync for GetBalanceRequest
impl Unpin for GetBalanceRequest
impl UnwindSafe for GetBalanceRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)