pub enum QueryParameter {
Show 23 variants
Address(String),
AliasAddress(String),
CreatedAfter(u32),
CreatedBefore(u32),
Cursor(String),
ExpirationReturnAddress(String),
ExpiresAfter(u32),
ExpiresBefore(u32),
Governor(String),
HasExpiration(bool),
HasNativeTokens(bool),
HasStorageDepositReturn(bool),
HasTimelock(bool),
Issuer(String),
MaxNativeTokenCount(u32),
MinNativeTokenCount(u32),
PageSize(usize),
Sender(String),
StateController(String),
StorageDepositReturnAddress(String),
Tag(String),
TimelockedAfter(u32),
TimelockedBefore(u32),
}Expand description
Query parameter for output requests.
Variants
Address(String)
Bech32-encoded address that should be searched for.
AliasAddress(String)
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(String)
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(String)
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(String)
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(String)
Filters outputs based on the presence of validated Sender (bech32 encoded).
StateController(String)
Filters outputs based on bech32-encoded state controller address.
StorageDepositReturnAddress(String)
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.
Trait Implementations
sourceimpl Clone for QueryParameter
impl Clone for QueryParameter
sourcefn clone(&self) -> QueryParameter
fn clone(&self) -> QueryParameter
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresourceimpl Debug for QueryParameter
impl Debug for QueryParameter
sourceimpl<'de> Deserialize<'de> for QueryParameter
impl<'de> Deserialize<'de> for QueryParameter
sourcefn 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>,
sourceimpl Display for QueryParameter
impl Display for QueryParameter
sourceimpl PartialEq<QueryParameter> for QueryParameter
impl PartialEq<QueryParameter> for QueryParameter
sourcefn eq(&self, other: &QueryParameter) -> bool
fn eq(&self, other: &QueryParameter) -> bool
sourceimpl Serialize for QueryParameter
impl Serialize for QueryParameter
impl Eq for QueryParameter
impl StructuralEq for QueryParameter
impl StructuralPartialEq for QueryParameter
Auto Trait Implementations
impl RefUnwindSafe for QueryParameter
impl Send for QueryParameter
impl Sync for QueryParameter
impl Unpin for QueryParameter
impl UnwindSafe for QueryParameter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.