pub trait OrderValidator {
    // Required method
    fn add_directory(&mut self, directory: &Directory) -> bool;
}

Required Methods§

source

fn add_directory(&mut self, directory: &Directory) -> bool

Update the order validator’s state with the directory Returns whether the directory was accepted

Implementors§