pub trait FromDuckDbwhere
    Self: ToDuckDbType,{
    // Required method
    fn from_duckdb(value: Self::DuckDbRepresentation) -> Self;
}

Required Methods§

source

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

Convert from DuckDb representation

Panic

If unrepresentable

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromDuckDb for &CStr

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for bool

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for f32

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for f64

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for i8

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for i16

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for i32

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for i64

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for i128

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for u8

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for u16

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for u32

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for u64

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for DateTime<Utc>

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for NaiveDate

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for NaiveDateTime

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

source§

impl FromDuckDb for NaiveTime

source§

fn from_duckdb(value: Self::DuckDbRepresentation) -> Self

Implementors§