surrealpatch/tests/common/format.rs
2024-01-09 15:27:03 +00:00

14 lines
206 B
Rust

use std::string::ToString;
#[derive(Debug, Copy, Clone)]
pub enum Format {
Json,
}
impl ToString for Format {
fn to_string(&self) -> String {
match self {
Self::Json => "json".to_owned(),
}
}
}