pub trait Convert<T> {
// Required method
fn convert(&self) -> Result<T>;
}
Expand description
Trait to convert from a Value to some other type.
pub trait Convert<T> {
// Required method
fn convert(&self) -> Result<T>;
}
Trait to convert from a Value to some other type.