pub struct ExecResponse {
pub ok: bool,
pub operation: String,
pub message: String,
pub data: Option<ExecData>,
pub telemetry: Option<ServerTelemetry>,
}Expand description
Single-statement execution outcome: status, operation label, message, data, and optional server telemetry.
Fields§
§ok: boolWhether the statement succeeded.
operation: StringOperation label (e.g. QUERY, UPSERT, PARSE) for this result.
message: StringHuman-readable summary or error text.
data: Option<ExecData>Typed payload (search hits, count, facet entries, …), when the operation returns data.
telemetry: Option<ServerTelemetry>Server telemetry (time + hardware/inference usage) when the
backend reported it. None where the route/transport carries none
(batch items, collection DDL over gRPC, mocks without timing).
skip_serializing_if keeps the pre-telemetry JSON shape byte-identical
when no telemetry was reported.
Implementations§
Source§impl ExecResponse
impl ExecResponse
Trait Implementations§
Source§impl Clone for ExecResponse
impl Clone for ExecResponse
Source§impl Debug for ExecResponse
impl Debug for ExecResponse
Source§impl PartialEq for ExecResponse
impl PartialEq for ExecResponse
Source§impl Serialize for ExecResponse
impl Serialize for ExecResponse
impl StructuralPartialEq for ExecResponse
Auto Trait Implementations§
impl Freeze for ExecResponse
impl RefUnwindSafe for ExecResponse
impl Send for ExecResponse
impl Sync for ExecResponse
impl Unpin for ExecResponse
impl UnsafeUnpin for ExecResponse
impl UnwindSafe for ExecResponse
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