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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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>,
Deserialize this value from the given Serde deserializer. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more