Skip to main content

RowShape

Trait RowShape 

Source
pub trait RowShape {
    const SHAPE: &'static [ColumnSpec];
}
Expand description

A type whose result columns can be checked at compile time.

Required Associated Constants§

Source

const SHAPE: &'static [ColumnSpec]

The columns this type expects.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl RowShape for DateTime

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for IpNetwork

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for String

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for Uuid

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for Value

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for Vec<u8>

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for bool

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for f32

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for f64

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for i16

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for i32

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl RowShape for i64

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<A: StaticType, B: StaticType, C: StaticType, D: StaticType, E: StaticType, F: StaticType, G: StaticType, H: StaticType> RowShape for (A, B, C, D, E, F, G, H)

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<A: StaticType, B: StaticType, C: StaticType, D: StaticType, E: StaticType, F: StaticType, G: StaticType> RowShape for (A, B, C, D, E, F, G)

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<A: StaticType, B: StaticType, C: StaticType, D: StaticType, E: StaticType, F: StaticType> RowShape for (A, B, C, D, E, F)

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<A: StaticType, B: StaticType, C: StaticType, D: StaticType, E: StaticType> RowShape for (A, B, C, D, E)

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<A: StaticType, B: StaticType, C: StaticType, D: StaticType> RowShape for (A, B, C, D)

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<A: StaticType, B: StaticType, C: StaticType> RowShape for (A, B, C)

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<A: StaticType, B: StaticType> RowShape for (A, B)

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<A: StaticType> RowShape for (A,)

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<T: StaticType> RowShape for Option<T>

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<T: StaticType> RowShape for Vec<T>

Source§

const SHAPE: &'static [ColumnSpec]

Implementors§

Source§

impl RowShape for Interval

Source§

const SHAPE: &'static [ColumnSpec]

Source§

impl<T> RowShape for Json<T>

Source§

const SHAPE: &'static [ColumnSpec]