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
)