phonograph/interim-models/sqlizable.rs

13 lines
237 B
Rust
Raw Normal View History

2025-07-08 16:54:51 -07:00
use chrono::{DateTime, Utc};
use sqlx::{Encode, postgres::Postgres};
use uuid::Uuid;
pub enum Sqlizable {
Integer(i32),
Text(String),
Timestamptz(DateTime<Utc>),
Uuid(Uuid),
}
impl Encode<'a, Postgres> for Sqlizable {}