toasty_core/driver/operation/
insert.rs

1use super::Operation;
2
3use crate::stmt;
4
5#[derive(Debug, Clone)]
6pub struct Insert {
7    pub stmt: stmt::Statement,
8
9    /// The return type
10    pub ret: Option<Vec<stmt::Type>>,
11}
12
13impl From<Insert> for Operation {
14    fn from(value: Insert) -> Self {
15        Self::Insert(value)
16    }
17}