Trait FromDirective

Source
pub trait FromDirective {
    // Required method
    fn from_directive(directive: Directive) -> Result<Self, String>
       where Self: Sized;
}

Required Methods§

Source

fn from_directive(directive: Directive) -> Result<Self, String>
where Self: Sized,

Implementations on Foreign Types§

Source§

impl FromDirective for Box<dyn Validator>

Source§

fn from_directive(directive: Directive) -> Result<Self, String>
where Self: Sized,

Implementors§