Abstract away connection logic
This commit is contained in:
parent
e482ba3e05
commit
805df53699
7 changed files with 217 additions and 9 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
macro_rules! id_alias {
|
||||
($name:ident) => {
|
||||
#[derive(Debug, Clone, Copy, Deserialize, Serialize)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Deserialize, Serialize)]
|
||||
pub struct $name(Id);
|
||||
|
||||
impl $name {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue