pub struct PinnedExplainQueryRequest {
pub query: String,
pub analyze: bool,
}Expand description
Request for the explainQuery tool.
Fields§
§query: StringThe SQL query to explain.
analyze: boolIf true, use EXPLAIN ANALYZE for actual execution statistics. In read-only mode, only allowed for read-only statements. Defaults to false.
Trait Implementations§
Source§impl Debug for PinnedExplainQueryRequest
impl Debug for PinnedExplainQueryRequest
Source§impl Default for PinnedExplainQueryRequest
impl Default for PinnedExplainQueryRequest
Source§fn default() -> PinnedExplainQueryRequest
fn default() -> PinnedExplainQueryRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PinnedExplainQueryRequest
impl<'de> Deserialize<'de> for PinnedExplainQueryRequest
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
Source§impl JsonSchema for PinnedExplainQueryRequest
impl JsonSchema for PinnedExplainQueryRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for PinnedExplainQueryRequest
impl RefUnwindSafe for PinnedExplainQueryRequest
impl Send for PinnedExplainQueryRequest
impl Sync for PinnedExplainQueryRequest
impl Unpin for PinnedExplainQueryRequest
impl UnsafeUnpin for PinnedExplainQueryRequest
impl UnwindSafe for PinnedExplainQueryRequest
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