pub enum UtxosFilterInRequest {
MinConfirmations(u32),
min_confirmations(u32),
Page(Page),
page(Page),
}
Expand description
A UtxosFilter enum that allows both upper and lowercase variants. Supporting both variants allows us to be compatible with the spec (lowercase) while not breaking current dapps that are using uppercase variants.
Variants§
Trait Implementations§
source§impl CandidType for UtxosFilterInRequest
impl CandidType for UtxosFilterInRequest
source§impl Debug for UtxosFilterInRequest
impl Debug for UtxosFilterInRequest
source§impl<'de> Deserialize<'de> for UtxosFilterInRequest
impl<'de> Deserialize<'de> for UtxosFilterInRequest
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 From<UtxosFilterInRequest> for UtxosFilter
impl From<UtxosFilterInRequest> for UtxosFilter
source§fn from(filter: UtxosFilterInRequest) -> Self
fn from(filter: UtxosFilterInRequest) -> Self
Converts to this type from the input type.
source§impl PartialEq for UtxosFilterInRequest
impl PartialEq for UtxosFilterInRequest
source§fn eq(&self, other: &UtxosFilterInRequest) -> bool
fn eq(&self, other: &UtxosFilterInRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UtxosFilterInRequest
impl StructuralPartialEq for UtxosFilterInRequest
Auto Trait Implementations§
impl Freeze for UtxosFilterInRequest
impl RefUnwindSafe for UtxosFilterInRequest
impl Send for UtxosFilterInRequest
impl Sync for UtxosFilterInRequest
impl Unpin for UtxosFilterInRequest
impl UnwindSafe for UtxosFilterInRequest
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