Replace DeserializeOwned with Deserialize<'de> trait bound

This commit is contained in:
aeon 2023-06-23 10:44:38 +08:00 committed by Martin Dahl
parent fd13c82aa2
commit a4d04a5017
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ pub(crate) fn uuid_msg_to_uuid(msg: &unique_identifier_msgs::msg::UUID) -> uuid:
}
pub trait WrappedTypesupport:
Serialize + serde::de::DeserializeOwned + Default + Debug + Clone
Serialize + for<'de> Deserialize<'de> + Default + Debug + Clone
{
type CStruct;