Added Wrapper types and DateTimeInterval

This commit is contained in:
Martin Berg Alstad
2024-08-19 23:15:55 +02:00
parent ae775f4e9e
commit 00e894140f
10 changed files with 161 additions and 1 deletions

View File

@ -19,7 +19,7 @@ impl<T: Serialize> BaseResponse<T> {
#[macro_export]
macro_rules! from {
($body:expr) => {
BaseResponse::new(env!("CARGO_PKG_VERSION"), $body)
$crate::serde::response::BaseResponse::new(env!("CARGO_PKG_VERSION"), $body)
};
}