use std::borrow::Cow;
use std::fmt::Debug;
use serde::de::DeserializeOwned;
#[doc(hidden)]
pub trait Hydrations: 'static + Debug + DeserializeOwned + PartialEq + Clone {
type RequestData;
fn hydration_text(data: &Self::RequestData) -> Cow<'static, str>;
}
impl Hydrations for () {
type RequestData = ();
fn hydration_text((): &()) -> Cow<'static, str> {
Cow::Borrowed("")
}
}