pub struct ReadQueryResponse {
pub rows: Vec<Value>,
pub next_cursor: Option<Cursor>,
}Expand description
Response for the readQuery tool.
Fields§
§rows: Vec<Value>Result rows, each a JSON object keyed by a column name.
next_cursor: Option<Cursor>Opaque cursor pointing to the next page. Absent when this is the final
page, when the result fits in one page, or when the statement is a
non-SELECT kind that does not paginate (e.g. SHOW, EXPLAIN).
Trait Implementations§
Source§impl Debug for ReadQueryResponse
impl Debug for ReadQueryResponse
Source§impl JsonSchema for ReadQueryResponse
impl JsonSchema for ReadQueryResponse
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 ReadQueryResponse
impl RefUnwindSafe for ReadQueryResponse
impl Send for ReadQueryResponse
impl Sync for ReadQueryResponse
impl Unpin for ReadQueryResponse
impl UnsafeUnpin for ReadQueryResponse
impl UnwindSafe for ReadQueryResponse
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