pub trait SingleRequestTrait: Sized {
    fn into_string(self) -> Result<String, String>;
    fn from_string(data: &str) -> Result<Self, String>;
}
Expand description

Ensures that this type is serializable and deserializable so can be used for defining a resource.

Required Methods

Implementors