mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
14 lines
361 B
Rust
14 lines
361 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
|
|
pub struct DropIndex {
|
|
pub index_name: String,
|
|
pub table_name: String,
|
|
}
|
|
|
|
impl std::fmt::Display for DropIndex {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
write!(f, "DROP INDEX {}", self.index_name)
|
|
}
|
|
}
|