#[non_exhaustive]pub struct CallStatusQuery {
pub height: Height,
pub service_id: InstanceId,
pub with_proof: bool,
}Expand description
Query parameters to check the execution status of a before_transactions or
after_transactions call.
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.height: HeightHeight of a block.
service_id: InstanceIdNumerical service identifier.
with_proof: boolWhether to return the status with a cryptographic proof of authenticity.
Implementations§
Source§impl CallStatusQuery
impl CallStatusQuery
Sourcepub fn new(height: Height, service_id: InstanceId) -> Self
pub fn new(height: Height, service_id: InstanceId) -> Self
Creates a new query.
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 CallStatusQuery
impl Clone for CallStatusQuery
Source§fn clone(&self) -> CallStatusQuery
fn clone(&self) -> CallStatusQuery
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 CallStatusQuery
impl Debug for CallStatusQuery
Source§impl<'de> Deserialize<'de> for CallStatusQuery
impl<'de> Deserialize<'de> for CallStatusQuery
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 CallStatusQuery
impl RefUnwindSafe for CallStatusQuery
impl Send for CallStatusQuery
impl Sync for CallStatusQuery
impl Unpin for CallStatusQuery
impl UnwindSafe for CallStatusQuery
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