pub struct GetUtxosResponse {
pub utxos: Vec<Utxo>,
pub tip_block_hash: Vec<u8>,
pub tip_height: u32,
pub next_page: Option<Vec<u8>>,
}Expand description
Response type for the BitcoinCanister::get_utxos_query function.
Fields§
§utxos: Vec<Utxo>A list of UTXOs available for the specified address.
tip_block_hash: Vec<u8>The hash of the tip.
tip_height: u32The block index of the tip of the chain known to the IC.
next_page: Option<Vec<u8>>If Some, then utxos does not contain the entire results of the query.
Call bitcoin_get_utxos_query again using UtxosFilter::Page for the next page of results.
Trait Implementations§
Source§impl CandidType for GetUtxosResponse
impl CandidType for GetUtxosResponse
Source§impl Clone for GetUtxosResponse
impl Clone for GetUtxosResponse
Source§fn clone(&self) -> GetUtxosResponse
fn clone(&self) -> GetUtxosResponse
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetUtxosResponse
impl Debug for GetUtxosResponse
Source§impl<'de> Deserialize<'de> for GetUtxosResponse
impl<'de> Deserialize<'de> for GetUtxosResponse
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 GetUtxosResponse
impl RefUnwindSafe for GetUtxosResponse
impl Send for GetUtxosResponse
impl Sync for GetUtxosResponse
impl Unpin for GetUtxosResponse
impl UnwindSafe for GetUtxosResponse
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)