This PR utilizes Cow for all &'a str types in the models. It also uses String instead of Cow for structs that utilize the serde_with_tag macro as it caused lifetime issues with serde::Deserialize. This may change back as soon as we found a solution for this issue.
Context of Change
The lifetime issue is one I encountered during #71 development. We use String in favor of #71.
Type of Change
[x] Bug fix (non-breaking change which fixes an issue)
[x] Refactor (non-breaking change that only restructures code)
High Level Overview of Change
This PR utilizes
Cow
for all&'a str
types in the models. It also usesString
instead ofCow
for structs that utilize theserde_with_tag
macro as it caused lifetime issues withserde::Deserialize
. This may change back as soon as we found a solution for this issue.Context of Change
The lifetime issue is one I encountered during #71 development. We use
String
in favor of #71.Type of Change