[][src]Derive Macro diesel::expression::AsExpression

#[derive(AsExpression)]
{
    // Attributes available to this derive:
    #[diesel]
    #[sql_type]
}

Implements all required variants of AsExpression

This derive will generate the following impls:

If your type is unsized, you can specify this by adding the annotation #[diesel(not_sized)] as attribute on the type. This will skip the impls for non-reference types.

Attributes:

Required type attributes

Optional type attribute