Skip to main content

ValidateCustom

Trait ValidateCustom 

Source
pub trait ValidateCustom {
    // Provided method
    fn validate_custom(&self, _ctx: &mut dyn VisitorContext) { ... }
}
Expand description

User-defined validation hooks.

Same rules as ValidateAuto.

Provided Methods§

Source

fn validate_custom(&self, _ctx: &mut dyn VisitorContext)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ValidateCustom for bool

Source§

impl ValidateCustom for f32

Source§

impl ValidateCustom for f64

Source§

impl ValidateCustom for i8

Source§

impl ValidateCustom for i16

Source§

impl ValidateCustom for i32

Source§

impl ValidateCustom for i64

Source§

impl ValidateCustom for i128

Source§

impl ValidateCustom for u8

Source§

impl ValidateCustom for u16

Source§

impl ValidateCustom for u32

Source§

impl ValidateCustom for u64

Source§

impl ValidateCustom for u128

Source§

impl ValidateCustom for String

Source§

impl<T: ValidateCustom + ?Sized> ValidateCustom for Box<T>

Source§

fn validate_custom(&self, ctx: &mut dyn VisitorContext)

Source§

impl<T: ValidateCustom> ValidateCustom for Option<T>

Source§

fn validate_custom(&self, ctx: &mut dyn VisitorContext)

Source§

impl<T: ValidateCustom> ValidateCustom for Vec<T>

Source§

fn validate_custom(&self, ctx: &mut dyn VisitorContext)

Implementors§