Skip to main content

WriteShapes

Trait WriteShapes 

Source
pub trait WriteShapes {
    type Create: WriteShape;
    type Update: WriteShape;
}
Expand description

What a repo publishes, on its generated constraint violation enum, about its own writes (nested children included): Create for create/create_all, Update for update/update_all/forget/ delete. A parent’s update also creates its new children, so it folds in their Create as well.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§