Trait Cast

Source
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.

Required Methods§

Source

fn cast(&self) -> Result<T>

Implementors§