Function serde_rusqlite::to_params [] [src]

pub fn to_params<S: Serialize>(obj: S) -> Result<PositionalParamSlice>

Serializes an instance of S: serde::Serialize into structure for positional bound query arguments

To get the slice suitable for supplying to query() or execute() call to_slice() on the Ok result and borrow it.