#[non_exhaustive]pub struct TransactionStatusQuery {
pub hash: Hash,
pub with_proof: bool,
}Expand description
Query parameters to check the execution status of a transaction.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.hash: HashThe hash of the transaction to be searched.
with_proof: boolWhether to return the status with a cryptographic proof of authenticity.
Implementations§
Source§impl TransactionStatusQuery
impl TransactionStatusQuery
Sourcepub fn with_proof(self) -> Self
pub fn with_proof(self) -> Self
Requests to return a call status with a cryptographic proof of authenticity.
Trait Implementations§
Source§impl Clone for TransactionStatusQuery
impl Clone for TransactionStatusQuery
Source§fn clone(&self) -> TransactionStatusQuery
fn clone(&self) -> TransactionStatusQuery
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 TransactionStatusQuery
impl Debug for TransactionStatusQuery
Source§impl<'de> Deserialize<'de> for TransactionStatusQuery
impl<'de> Deserialize<'de> for TransactionStatusQuery
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
Auto Trait Implementations§
impl Freeze for TransactionStatusQuery
impl RefUnwindSafe for TransactionStatusQuery
impl Send for TransactionStatusQuery
impl Sync for TransactionStatusQuery
impl Unpin for TransactionStatusQuery
impl UnwindSafe for TransactionStatusQuery
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