Function mysql_common::value::convert::from_value_opt
source · pub fn from_value_opt<T: FromValue>(v: Value) -> Result<T, FromValueError>
Expand description
Will return Err(FromValueError(v))
if could not convert v
to T