Support container output format

This commit is contained in:
Dominik Werder committed 2024-12-04 12:15:51 +01:00
1 parent aeefe566b7
commit e7613d6864
6 files changed
+28 -19

No files matched your search

+6
View File
@@ -181,6 +181,12 @@ pub struct ToJsonBody {
body: Vec<u8>,
}
impl From<Vec<u8>> for ToJsonBody {
fn from(value: Vec<u8>) -> Self {
Self { body: value }
}
}
impl<S: Serialize> From<&S> for ToJsonBody {
fn from(value: &S) -> Self {
Self {