VerbRegistry

Trait VerbRegistry 

Source
pub trait VerbRegistry {
    // Required method
    fn is_allowed(&self, verb: &Verb) -> bool;
}
Expand description

Registry para validar verbos contra ALLOWED_ACTIONS (Paper I §3.1). Implementações devem verificar se o verbo está no registro permitido.

Required Methods§

Source

fn is_allowed(&self, verb: &Verb) -> bool

Retorna true se o verbo está permitido no sistema.

Implementors§