mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-19 09:34:18 +01:00
13 lines
333 B
Rust
13 lines
333 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
|
|
pub struct DropIndex {
|
|
pub index_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)
|
|
}
|
|
}
|