Derive Macro rsfbclient_derive::IntoParams[][src]


Derive an IntoParams implementation for structs.

This enables passing an instance of such a struct in places where named parameters are expected, using the field labels to associate field values with parameter names.

The fields' types must implement the IntoParam trait.

Note that Option<T> may be used as a field type to indicate a nullable parameter.

Providing an instance of the struct with value None for such a field corresponds to passing a null value for that field.