Skip to main content

ChildRows

Trait ChildRows 

Source
pub trait ChildRows: Send + Sync {
    // Required methods
    fn changed(&self) -> bool;
    fn steps(
        &self,
        parent: &str,
        parent_id: Uuid,
        dialect: &dyn Dialect,
    ) -> Vec<Step>;
    fn committed(&mut self);
    fn refuse_unlisted_moves(&self) -> Result<()>;
}

Required Methods§

Source

fn changed(&self) -> bool

Source

fn steps( &self, parent: &str, parent_id: Uuid, dialect: &dyn Dialect, ) -> Vec<Step>

Source

fn committed(&mut self)

Source

fn refuse_unlisted_moves(&self) -> Result<()>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§