Chris Tsang 43509afb31 Edit
2021-10-20 17:46:35 +08:00

17 lines
195 B
Rust

pub use sea_orm::entity::*;
pub fn clone_a_model<M>(model: &M) -> M
where
M: ModelTrait {
model.clone()
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test() {
println!("OK");
}
}