[][src]Trait validators::traits::CollectionLength

pub trait CollectionLength {
    fn len(&self) -> usize;
}

For types which should have the a len method.

Required methods

fn len(&self) -> usize

Loading content...

Implementations on Foreign Types

impl<T> CollectionLength for BinaryHeap<T>[src]

impl<T> CollectionLength for BTreeSet<T>[src]

impl<K, T> CollectionLength for BTreeMap<K, T>[src]

impl<T> CollectionLength for HashSet<T>[src]

impl<K, T> CollectionLength for HashMap<K, T>[src]

impl CollectionLength for Map<String, Value>[src]

Loading content...

Implementors

impl<T> CollectionLength for Vec<T>[src]

Loading content...