pub trait Cast<T> {
// Required method
fn cast(&self) -> Result<T>;
}
Expand description
A helper trait that performs non-consuming type conversions from JSONValues to Rust primitive types.
pub trait Cast<T> {
// Required method
fn cast(&self) -> Result<T>;
}
A helper trait that performs non-consuming type conversions from JSONValues to Rust primitive types.