Struct ic_cdk::api::management_canister::bitcoin::GetUtxosResponse
source · pub struct GetUtxosResponse {
pub utxos: Vec<Utxo>,
pub tip_block_hash: BlockHash,
pub tip_height: u32,
pub next_page: Option<Vec<u8>>,
}
Expand description
Response type of bitcoin_get_utxos.
Fields§
§utxos: Vec<Utxo>
List of UTXOs.
tip_block_hash: BlockHash
Hash of the tip block.
tip_height: u32
Height of the tip height.
next_page: Option<Vec<u8>>
Page reference when the response needs to be paginated.
To be used in UtxoFilter::Page.
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 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 GetUtxosResponse
impl Debug for GetUtxosResponse
source§impl Default for GetUtxosResponse
impl Default for GetUtxosResponse
source§fn default() -> GetUtxosResponse
fn default() -> GetUtxosResponse
Returns the “default value” for a type. Read more
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
source§impl Hash for GetUtxosResponse
impl Hash for GetUtxosResponse
source§impl Ord for GetUtxosResponse
impl Ord for GetUtxosResponse
source§fn cmp(&self, other: &GetUtxosResponse) -> Ordering
fn cmp(&self, other: &GetUtxosResponse) -> 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 GetUtxosResponse
impl PartialEq for GetUtxosResponse
source§impl PartialOrd for GetUtxosResponse
impl PartialOrd for GetUtxosResponse
source§impl Serialize for GetUtxosResponse
impl Serialize for GetUtxosResponse
impl Eq for GetUtxosResponse
impl StructuralPartialEq for GetUtxosResponse
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§
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
)