Struct skar_client::QueryResponse
source · pub struct QueryResponse {
pub archive_height: Option<u64>,
pub next_block: u64,
pub total_execution_time: u64,
pub data: QueryResponseData,
pub rollback_guard: Option<RollbackGuard>,
}Fields§
§archive_height: Option<u64>Current height of the source hypersync instance
next_block: u64Next block to query for, the responses are paginated so the caller should continue the query from this block if they didn’t get responses up to the to_block they specified in the Query.
total_execution_time: u64Total time it took the hypersync instance to execute the query.
data: QueryResponseDataResponse data
rollback_guard: Option<RollbackGuard>Rollback guard
Trait Implementations§
source§impl Clone for QueryResponse
impl Clone for QueryResponse
source§fn clone(&self) -> QueryResponse
fn clone(&self) -> QueryResponse
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for QueryResponse
impl Send for QueryResponse
impl Sync for QueryResponse
impl Unpin for QueryResponse
impl !UnwindSafe for QueryResponse
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