diesel::deserialize

Derive Macro FromSqlRow

Source
#[derive(FromSqlRow)]
{
    // Attributes available to this derive:
    #[diesel]
}
Expand description

Implements Queryable for types that correspond to a single SQL type. The type must implement FromSql.

This derive is mostly useful to implement support deserializing into rust types not supported by Diesel itself.

There are no options or special considerations needed for this derive.