Trait tiberius::FromSqlOwned

source ·
pub trait FromSqlOwned
where Self: Sized,
{ // Required method fn from_sql_owned(value: ColumnData<'static>) -> Result<Option<Self>>; }
Expand description

A conversion trait from a TDS type by-value.

Required Methods§

source

fn from_sql_owned(value: ColumnData<'static>) -> Result<Option<Self>>

Returns the value, None being a null value, taking the ownership.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromSqlOwned for bool

source§

fn from_sql_owned(data: ColumnData<'static>) -> Result<Option<Self>>

source§

impl FromSqlOwned for f32

source§

fn from_sql_owned(data: ColumnData<'static>) -> Result<Option<Self>>

source§

impl FromSqlOwned for f64

source§

fn from_sql_owned(data: ColumnData<'static>) -> Result<Option<Self>>

source§

impl FromSqlOwned for i16

source§

fn from_sql_owned(data: ColumnData<'static>) -> Result<Option<Self>>

source§

impl FromSqlOwned for i32

source§

fn from_sql_owned(data: ColumnData<'static>) -> Result<Option<Self>>

source§

impl FromSqlOwned for i64

source§

fn from_sql_owned(data: ColumnData<'static>) -> Result<Option<Self>>

source§

impl FromSqlOwned for u8

source§

fn from_sql_owned(data: ColumnData<'static>) -> Result<Option<Self>>

source§

impl FromSqlOwned for String

source§

fn from_sql_owned(value: ColumnData<'static>) -> Result<Option<Self>>

source§

impl FromSqlOwned for Vec<u8>

source§

fn from_sql_owned(value: ColumnData<'static>) -> Result<Option<Self>>

Implementors§