Enum iota_sdk::client::node_api::indexer::query_parameters::QueryParameter
source · #[non_exhaustive]pub enum QueryParameter {
Show 24 variants
Address(Bech32Address),
AliasAddress(Bech32Address),
CreatedAfter(u32),
CreatedBefore(u32),
Cursor(String),
ExpirationReturnAddress(Bech32Address),
ExpiresAfter(u32),
ExpiresBefore(u32),
Governor(Bech32Address),
HasExpiration(bool),
HasNativeTokens(bool),
HasStorageDepositReturn(bool),
HasTimelock(bool),
Issuer(Bech32Address),
MaxNativeTokenCount(u32),
MinNativeTokenCount(u32),
PageSize(usize),
Sender(Bech32Address),
StateController(Bech32Address),
StorageDepositReturnAddress(Bech32Address),
Tag(String),
TimelockedAfter(u32),
TimelockedBefore(u32),
UnlockableByAddress(Bech32Address),
}
client
only.Expand description
Query parameter for output requests.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Address(Bech32Address)
Bech32-encoded address that should be searched for.
AliasAddress(Bech32Address)
Filter foundry outputs based on bech32-encoded address of the controlling alias.
CreatedAfter(u32)
Returns outputs that were created after a certain Unix timestamp.
CreatedBefore(u32)
Returns outputs that were created before a certain Unix timestamp.
Cursor(String)
Starts the search from the cursor (confirmationMS+outputId.pageSize).
ExpirationReturnAddress(Bech32Address)
Filters outputs based on the presence of a specific Bech32-encoded return address in the expiration unlock condition.
ExpiresAfter(u32)
Returns outputs that expire after a certain Unix timestamp.
ExpiresBefore(u32)
Returns outputs that expire before a certain Unix timestamp.
Governor(Bech32Address)
Filters outputs based on bech32-encoded governor (governance controller) address.
HasExpiration(bool)
Filters outputs based on the presence of expiration unlock condition.
HasNativeTokens(bool)
Filters outputs based on the presence of native tokens.
HasStorageDepositReturn(bool)
Filters outputs based on the presence of storage deposit return unlock condition.
HasTimelock(bool)
Filters outputs based on the presence of timelock unlock condition.
Issuer(Bech32Address)
Filters outputs based on bech32-encoded issuer address.
MaxNativeTokenCount(u32)
Filters outputs that have at most a certain number of distinct native tokens.
MinNativeTokenCount(u32)
Filters outputs that have at least a certain number of distinct native tokens.
PageSize(usize)
The maximum amount of items returned in one call. If there are more items, a cursor to the next page is returned too. The parameter is ignored when pageSize is defined via the cursor parameter.
Sender(Bech32Address)
Filters outputs based on the presence of validated Sender (bech32 encoded).
StateController(Bech32Address)
Filters outputs based on bech32-encoded state controller address.
StorageDepositReturnAddress(Bech32Address)
Filters outputs based on the presence of a specific return address in the storage deposit return unlock condition.
Tag(String)
Filters outputs based on matching Tag Block.
TimelockedAfter(u32)
Returns outputs that are timelocked after a certain Unix timestamp.
TimelockedBefore(u32)
Returns outputs that are timelocked before a certain Unix timestamp.
UnlockableByAddress(Bech32Address)
Returns outputs that are unlockable by the bech32 address.
Trait Implementations§
source§impl Clone for QueryParameter
impl Clone for QueryParameter
source§fn clone(&self) -> QueryParameter
fn clone(&self) -> QueryParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryParameter
impl Debug for QueryParameter
source§impl<'de> Deserialize<'de> for QueryParameter
impl<'de> Deserialize<'de> for QueryParameter
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>,
source§impl Display for QueryParameter
impl Display for QueryParameter
source§impl PartialEq for QueryParameter
impl PartialEq for QueryParameter
source§fn eq(&self, other: &QueryParameter) -> bool
fn eq(&self, other: &QueryParameter) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for QueryParameter
impl Serialize for QueryParameter
impl Eq for QueryParameter
impl StructuralPartialEq for QueryParameter
Auto Trait Implementations§
impl Freeze for QueryParameter
impl RefUnwindSafe for QueryParameter
impl Send for QueryParameter
impl Sync for QueryParameter
impl Unpin for QueryParameter
impl UnwindSafe for QueryParameter
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more