Trait IntoInertiaPropResult

Source
pub trait IntoInertiaPropResult {
    // Required method
    fn into_inertia_value(self) -> Result<Value, InertiaError>;
}

Required Methods§

Source

fn into_inertia_value(self) -> Result<Value, InertiaError>

Converts a serializeable object into a serde_json::Value. If it fails, automatically maps the error to InertiaError.

Implementors§