pub struct ExecuteInput {
pub query: String,
}Expand description
The input parameters for the execute tool.
Fields§
§query: StringThe SQL query to execute against the database.
Trait Implementations§
Source§impl Clone for ExecuteInput
impl Clone for ExecuteInput
Source§fn clone(&self) -> ExecuteInput
fn clone(&self) -> ExecuteInput
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 moreSource§impl Debug for ExecuteInput
impl Debug for ExecuteInput
Source§impl<'de> Deserialize<'de> for ExecuteInput
impl<'de> Deserialize<'de> for ExecuteInput
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 Hash for ExecuteInput
impl Hash for ExecuteInput
Source§impl JsonSchema for ExecuteInput
impl JsonSchema for ExecuteInput
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 moreSource§impl Ord for ExecuteInput
impl Ord for ExecuteInput
Source§fn cmp(&self, other: &ExecuteInput) -> Ordering
fn cmp(&self, other: &ExecuteInput) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ExecuteInput
impl PartialEq for ExecuteInput
Source§impl PartialOrd for ExecuteInput
impl PartialOrd for ExecuteInput
Source§impl Serialize for ExecuteInput
impl Serialize for ExecuteInput
impl Eq for ExecuteInput
impl StructuralPartialEq for ExecuteInput
Auto Trait Implementations§
impl Freeze for ExecuteInput
impl RefUnwindSafe for ExecuteInput
impl Send for ExecuteInput
impl Sync for ExecuteInput
impl Unpin for ExecuteInput
impl UnsafeUnpin for ExecuteInput
impl UnwindSafe for ExecuteInput
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