Enum ic_cdk::api::management_canister::bitcoin::UtxoFilter
source · pub enum UtxoFilter {
MinConfirmations(u32),
Page(Vec<u8>),
}
Expand description
Filter for requesting UTXOs.
Variants§
MinConfirmations(u32)
Minimum number of confirmations. There is an upper bound of 144. Typically set to a value around 6 in practice.
Page(Vec<u8>)
Page reference.
DON’T construct it from scratch.
Only get it from the next_page
field of GetUtxosResponse.
Trait Implementations§
source§impl CandidType for UtxoFilter
impl CandidType for UtxoFilter
source§impl Clone for UtxoFilter
impl Clone for UtxoFilter
source§fn clone(&self) -> UtxoFilter
fn clone(&self) -> UtxoFilter
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 UtxoFilter
impl Debug for UtxoFilter
source§impl<'de> Deserialize<'de> for UtxoFilter
impl<'de> Deserialize<'de> for UtxoFilter
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 UtxoFilter
impl Hash for UtxoFilter
source§impl Ord for UtxoFilter
impl Ord for UtxoFilter
source§fn cmp(&self, other: &UtxoFilter) -> Ordering
fn cmp(&self, other: &UtxoFilter) -> 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 UtxoFilter
impl PartialEq for UtxoFilter
source§fn eq(&self, other: &UtxoFilter) -> bool
fn eq(&self, other: &UtxoFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UtxoFilter
impl PartialOrd for UtxoFilter
source§fn partial_cmp(&self, other: &UtxoFilter) -> Option<Ordering>
fn partial_cmp(&self, other: &UtxoFilter) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for UtxoFilter
impl Serialize for UtxoFilter
impl Eq for UtxoFilter
impl StructuralPartialEq for UtxoFilter
Auto Trait Implementations§
impl Freeze for UtxoFilter
impl RefUnwindSafe for UtxoFilter
impl Send for UtxoFilter
impl Sync for UtxoFilter
impl Unpin for UtxoFilter
impl UnwindSafe for UtxoFilter
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