usestd::borrow::Cow;/// Represents generic way to resolve given struct-specific index into string.
////// It assumes that the given type `T` implements Copy or Clone,
/// and that cloning is sufficiently lightweight.
pubtraitResolve<T> {/// Resolves given index into string.
fnresolve(&'_self, value: T)->Cow<'_, str>;}