Skip to main content

SQLPartial

Trait SQLPartial 

Source
pub trait SQLPartial<'a, Value: SQLParam> {
    type Partial: SQLModel<'a, Value> + Default + 'a;

    // Provided method
    fn partial() -> Self::Partial { ... }
}
Expand description

A select model with a partial form, in which each field is optional.

Required Associated Types§

Source

type Partial: SQLModel<'a, Value> + Default + 'a

The partial model: every field optional.

Provided Methods§

Source

fn partial() -> Self::Partial

Returns an empty partial model.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§