pub struct ExecutedSubgraphRequest {
pub subgraph_name: String,
pub method: String,
pub url: String,
pub executions: Vec<SubgraphRequestExecutionKind>,
pub cache_status: CacheStatus,
pub total_duration_ms: u64,
pub has_errors: bool,
}Expand description
Info about an executed subgraph request.
Fields§
§subgraph_name: StringThe name of the subgraph.
method: StringThe request method.
url: StringThe subgraph URL.
executions: Vec<SubgraphRequestExecutionKind>The subgraph responses
cache_status: CacheStatusThe cache status of the subgraph call.
total_duration_ms: u64The time in milliseconds taken for the whole operation.
has_errors: boolTrue, if the subgraph returned any errors.
Trait Implementations§
Source§impl Clone for ExecutedSubgraphRequest
impl Clone for ExecutedSubgraphRequest
Source§fn clone(&self) -> ExecutedSubgraphRequest
fn clone(&self) -> ExecutedSubgraphRequest
Returns a duplicate 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 Freeze for ExecutedSubgraphRequest
impl RefUnwindSafe for ExecutedSubgraphRequest
impl Send for ExecutedSubgraphRequest
impl Sync for ExecutedSubgraphRequest
impl Unpin for ExecutedSubgraphRequest
impl UnwindSafe for ExecutedSubgraphRequest
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