pub fn to_params_named_with_fields<S: Serialize>(
    obj: S,
    fields: &[&str]
) -> Result<NamedParamSlice>
Expand description

Serializes only the specified fields of an instance of S: serde::Serialize into structure for named bound query arguments

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