Trait PrimaryKeyArity

pub trait PrimaryKeyArity {
    const ARITY: usize;
}
Expand description

How many columns this Primary Key comprises

Required Associated Constants§

const ARITY: usize

Arity of the Primary Key

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

§

impl<T1> PrimaryKeyArity for (T1,)
where T1: TryGetableMany,

§

const ARITY: usize = 1usize

§

impl<T1, T2> PrimaryKeyArity for (T1, T2)

§

const ARITY: usize = 2usize

§

impl<T1, T2, T3> PrimaryKeyArity for (T1, T2, T3)

§

const ARITY: usize = 3usize

§

impl<T1, T2, T3, T4> PrimaryKeyArity for (T1, T2, T3, T4)

§

const ARITY: usize = 4usize

§

impl<T1, T2, T3, T4, T5> PrimaryKeyArity for (T1, T2, T3, T4, T5)

§

const ARITY: usize = 5usize

§

impl<T1, T2, T3, T4, T5, T6> PrimaryKeyArity for (T1, T2, T3, T4, T5, T6)

§

const ARITY: usize = 6usize

§

impl<T1, T2, T3, T4, T5, T6, T7> PrimaryKeyArity for (T1, T2, T3, T4, T5, T6, T7)

§

const ARITY: usize = 7usize

§

impl<T1, T2, T3, T4, T5, T6, T7, T8> PrimaryKeyArity for (T1, T2, T3, T4, T5, T6, T7, T8)

§

const ARITY: usize = 8usize

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9> PrimaryKeyArity for (T1, T2, T3, T4, T5, T6, T7, T8, T9)

§

const ARITY: usize = 9usize

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> PrimaryKeyArity for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

§

const ARITY: usize = 10usize

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> PrimaryKeyArity for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

§

const ARITY: usize = 11usize

§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> PrimaryKeyArity for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

§

const ARITY: usize = 12usize

Implementors§

§

impl<V> PrimaryKeyArity for V
where V: TryGetable,

§

const ARITY: usize = 1usize