11 lines
201 B
Rust
11 lines
201 B
Rust
pub mod antenna;
|
|
|
|
use async_trait::async_trait;
|
|
use schemars::JsonSchema;
|
|
|
|
use crate::error::Error;
|
|
|
|
#[async_trait]
|
|
pub trait Repository<T: JsonSchema> {
|
|
async fn pack(self) -> Result<T, Error>;
|
|
}
|