Trait validator::HasLen[][src]

pub trait HasLen {
    fn length(&self) -> u64;
}
Expand description

Trait to implement if one wants to make the length validator work for more types

A bit sad it’s not there by default in Rust

Required methods

Implementations on Foreign Types

Implementors