surrealpatch/lib/src/sql/script.rs
2022-02-23 13:20:00 +00:00

19 lines
422 B
Rust

use crate::sql::error::IResult;
use serde::{Deserialize, Serialize};
use std::fmt;
use std::str;
#[derive(Clone, Debug, Default, Eq, PartialEq, PartialOrd, Serialize, Deserialize)]
pub struct Script {
pub value: String,
}
impl fmt::Display for Script {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "\"{}\"", self.value)
}
}
pub fn script(_: &str) -> IResult<&str, Script> {
unimplemented!()
}