pub trait OrderValidator {
// Required method
fn add_directory(&mut self, directory: &Directory) -> bool;
}
Required Methods§
sourcefn add_directory(&mut self, directory: &Directory) -> bool
fn add_directory(&mut self, directory: &Directory) -> bool
Update the order validator’s state with the directory Returns whether the directory was accepted