Skip to main content

NestedChild

Trait NestedChild 

Source
pub trait NestedChild:
    DeserializeOwned
    + Validate
    + Send {
    const COLLECTION: &'static str;
}
Expand description

A child row type bound as part of a nested (has_many) form.

The COLLECTION constant names the field group used in input names (items[i][field]) and in combined error keys (items[1].quantity).

Required Associated Constants§

Source

const COLLECTION: &'static str

Field-group name used in input names (items[i][field]) and error keys (items[1].quantity). e.g. "items".

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§