Trait FromRow

Source
pub trait FromRow: Sized {
    // Required method
    fn from_row(statement: &mut RawStatement) -> Self;
}
Expand description

A trait for converting read values from a statement to a row

Required Methods§

Source

fn from_row(statement: &mut RawStatement) -> Self

Convert read values from a statement to a row

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§

Source§

impl FromRow for ()

Source§

fn from_row(_statement: &mut RawStatement) -> Self

Source§

impl<A> FromRow for (A,)
where A: TryFrom<Value>,

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B> FromRow for (A, B)
where A: TryFrom<Value>, B: TryFrom<Value>,

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C> FromRow for (A, B, C)
where A: TryFrom<Value>, B: TryFrom<Value>, C: TryFrom<Value>,

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D> FromRow for (A, B, C, D)
where A: TryFrom<Value>, B: TryFrom<Value>, C: TryFrom<Value>, D: TryFrom<Value>,

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E> FromRow for (A, B, C, D, E)
where A: TryFrom<Value>, B: TryFrom<Value>, C: TryFrom<Value>, D: TryFrom<Value>, E: TryFrom<Value>,

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F> FromRow for (A, B, C, D, E, F)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G> FromRow for (A, B, C, D, E, F, G)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H> FromRow for (A, B, C, D, E, F, G, H)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I> FromRow for (A, B, C, D, E, F, G, H, I)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I, J> FromRow for (A, B, C, D, E, F, G, H, I, J)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I, J, K> FromRow for (A, B, C, D, E, F, G, H, I, J, K)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> FromRow for (A, B, C, D, E, F, G, H, I, J, K, L)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> FromRow for (A, B, C, D, E, F, G, H, I, J, K, L, M)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> FromRow for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> FromRow for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> FromRow for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Source§

fn from_row(statement: &mut RawStatement) -> Self

Implementors§

Source§

impl<T> FromRow for T
where T: TryFrom<Value>,