Skip to main content

AllowEmpty

Trait AllowEmpty 

Source
pub trait AllowEmpty { }
Expand description

Mark validation allowing empty string.

This will enable Default impl and clear() method provided that MIN == 0.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl AllowEmpty for ()

Implementors§