Trait scylla_cql::frame::response::cql_to_rust::FromRow

source ·
pub trait FromRow: Sized {
    // Required method
    fn from_row(row: Row) -> Result<Self, FromRowError>;
}
👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
Expand description

This trait defines a way to convert CQL Row into some rust type

Required Methods§

source

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T1> FromRow for (T1,)

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

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

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> FromRow for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon
source§

impl<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> FromRow for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)

source§

fn from_row(row: Row) -> Result<Self, FromRowError>

👎Deprecated since 0.15.0: Legacy deserialization API is inefficient and is going to be removed soon

Implementors§