mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
15 lines
317 B
Rust
15 lines
317 B
Rust
use std::fmt::Display;
|
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
|
|
pub struct Drop {
|
|
pub table: String,
|
|
}
|
|
|
|
impl Display for Drop {
|
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
write!(f, "DROP TABLE {}", self.table)
|
|
}
|
|
}
|