Skip to main content

SQLPolicy

Trait SQLPolicy 

Source
pub trait SQLPolicy<'a, Type: SQLSchemaType, Value: SQLParam + 'a>: SQLPolicyInfo + ToSQL<'a, Value> {
    type Table: SQLTable<'a, Type, Value>;
}
Expand description

Trait for types that represent PostgreSQL policies.

Required Associated Types§

Source

type Table: SQLTable<'a, Type, Value>

The table type this policy is associated with.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§