Struct ic_cdk::api::management_canister::bitcoin::GetBalanceRequest
source · 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
)