pub trait Described<M: Default = HashMap<&'static str, &'static str>> {
// Required method
fn metadata() -> Descriptor<M>;
}Expand description
A self description of the type being targeted including doc-strings and metadata annotations.
Required Methods§
Sourcefn metadata() -> Descriptor<M>
fn metadata() -> Descriptor<M>
Get self description of this type
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<M: Default, K: Described<M> + Hash, V: Described<M>> Described<M> for HashMap<K, V>
Available on crate feature std only.
impl<M: Default, K: Described<M> + Hash, V: Described<M>> Described<M> for HashMap<K, V>
Available on crate feature
std only.fn metadata() -> Descriptor<M>
Source§impl<M: Default, T: Described<M>> Described<M> for Box<T>
Available on crate feature std only.
impl<M: Default, T: Described<M>> Described<M> for Box<T>
Available on crate feature
std only.fn metadata() -> Descriptor<M>
Source§impl<M: Default, T: Described<M>> Described<M> for Option<T>
impl<M: Default, T: Described<M>> Described<M> for Option<T>
fn metadata() -> Descriptor<M>
Source§impl<M: Default, T: Described<M>> Described<M> for Vec<T>
Available on crate feature std only.
impl<M: Default, T: Described<M>> Described<M> for Vec<T>
Available on crate feature
std only.fn metadata() -> Descriptor<M>
Source§impl<M: Default, Tz: TimeZone> Described<M> for DateTime<Tz>
Available on crate feature chrono only.
impl<M: Default, Tz: TimeZone> Described<M> for DateTime<Tz>
Available on crate feature
chrono only.