Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
m1guelpf committed Dec 24, 2023
1 parent 50fd48e commit 7ad5c4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ensemble/src/value/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ pub(crate) fn from<M: Model>(value: rbs::Value) -> Result<M, rbs::Error> {
pub(crate) fn serializing_for_db<S: serde::Serializer>() -> bool {
std::any::type_name::<S::Error>() == std::any::type_name::<rbs::Error>()
}

pub(crate) fn deserializing_from_db<'de, D: serde::Deserializer<'de>>() -> bool {
std::any::type_name::<D::Error>() == std::any::type_name::<rbs::Error>()
}

0 comments on commit 7ad5c4e

Please sign in to comment.