Created
February 2, 2023 03:38
-
-
Save Enigo/74b36ee0b8141cfd8b1eb8143a1975de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
#[async_trait] | |
pub trait Persistable<T> { | |
async fn persist_one(&self, result: &T, pool: &Pool<Postgres>); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment