Applied rust fmt
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-10 01:33:39 +02:00
parent de9203b8d5
commit 3645b53f7c
29 changed files with 842 additions and 375 deletions

View File

@@ -1,6 +1,6 @@
pub mod sync;
pub mod query;
pub mod execute;
pub mod query;
pub mod sync;
use serde::Serialize;
@@ -13,7 +13,10 @@ pub struct Response {
impl Response {
pub fn new(request_id: &str, payload: ResponsePayload) -> Self {
Self { request_id: request_id.to_owned(), payload }
Self {
request_id: request_id.to_owned(),
payload,
}
}
}