pub struct ExecutedOperation {
pub name: Option<String>,
pub document: String,
pub prepare_duration_ms: u64,
pub cached_plan: bool,
pub duration_ms: u64,
pub status: GraphqlResponseStatus,
pub on_subgraph_response_outputs: Vec<Vec<u8>>,
}
Expand description
Info about an executed operation.
Fields§
§name: Option<String>
The name of the operation, if present.
document: String
The operation document in sanitized form.
prepare_duration_ms: u64
The time taken in preparing.
cached_plan: bool
True, if the plan was taken from cache.
duration_ms: u64
Time in milliseconds spent executing the operation.
status: GraphqlResponseStatus
The status of the operation.
on_subgraph_response_outputs: Vec<Vec<u8>>
If queried any subgraphs, the outputs of on-subgraph-response hooks. Will be empty if no subgraphs were called.
Trait Implementations§
Source§impl Clone for ExecutedOperation
impl Clone for ExecutedOperation
Source§fn clone(&self) -> ExecutedOperation
fn clone(&self) -> ExecutedOperation
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 ExecutedOperation
impl RefUnwindSafe for ExecutedOperation
impl Send for ExecutedOperation
impl Sync for ExecutedOperation
impl Unpin for ExecutedOperation
impl UnwindSafe for ExecutedOperation
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