[][src]Trait market::Inspector

pub trait Inspector {
    type Good;
    fn allows(&self, good: &Self::Good) -> bool;
}

Inspects if goods meet defined requirements.

Associated Types

type Good

The good to be inspected.

Loading content...

Required methods

fn allows(&self, good: &Self::Good) -> bool

Returns if good meets requirements.

Loading content...

Implementors

Loading content...