pub struct CreateFtsIndexInput {
pub table_name: String,
pub columns: Vec<String>,
pub fts_table_name: Option<String>,
}Expand description
The input parameters for the create_fts_index tool.
Fields§
§table_name: StringThe name of the existing table to index.
columns: Vec<String>The columns to include in the full-text index.
fts_table_name: Option<String>Optional name for the FTS virtual table. Defaults to {table_name}_fts
if not provided.
Trait Implementations§
Source§impl Clone for CreateFtsIndexInput
impl Clone for CreateFtsIndexInput
Source§fn clone(&self) -> CreateFtsIndexInput
fn clone(&self) -> CreateFtsIndexInput
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 CreateFtsIndexInput
impl Debug for CreateFtsIndexInput
Source§impl<'de> Deserialize<'de> for CreateFtsIndexInput
impl<'de> Deserialize<'de> for CreateFtsIndexInput
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 CreateFtsIndexInput
impl Hash for CreateFtsIndexInput
Source§impl JsonSchema for CreateFtsIndexInput
impl JsonSchema for CreateFtsIndexInput
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 CreateFtsIndexInput
impl Ord for CreateFtsIndexInput
Source§fn cmp(&self, other: &CreateFtsIndexInput) -> Ordering
fn cmp(&self, other: &CreateFtsIndexInput) -> 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 CreateFtsIndexInput
impl PartialEq for CreateFtsIndexInput
Source§impl PartialOrd for CreateFtsIndexInput
impl PartialOrd for CreateFtsIndexInput
Source§impl Serialize for CreateFtsIndexInput
impl Serialize for CreateFtsIndexInput
impl Eq for CreateFtsIndexInput
impl StructuralPartialEq for CreateFtsIndexInput
Auto Trait Implementations§
impl Freeze for CreateFtsIndexInput
impl RefUnwindSafe for CreateFtsIndexInput
impl Send for CreateFtsIndexInput
impl Sync for CreateFtsIndexInput
impl Unpin for CreateFtsIndexInput
impl UnsafeUnpin for CreateFtsIndexInput
impl UnwindSafe for CreateFtsIndexInput
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