Trait google_cloud_spanner::row::TryFromValue

source ·
pub trait TryFromValue: Sized {
    // Required method
    fn try_from(value: &Value, field: &Field) -> Result<Self, Error>;
}

Required Methods§

source

fn try_from(value: &Value, field: &Field) -> Result<Self, Error>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TryFromValue for bool

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl TryFromValue for f64

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl TryFromValue for i64

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl TryFromValue for String

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl TryFromValue for Vec<u8>

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl TryFromValue for BigDecimal

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl TryFromValue for Date

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl TryFromValue for OffsetDateTime

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl<T> TryFromValue for Option<T>
where T: TryFromValue,

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

source§

impl<T> TryFromValue for Vec<T>
where T: TryFromValue,

source§

fn try_from(item: &Value, field: &Field) -> Result<Self, Error>

Implementors§