Trait ToKind

Source
pub trait ToKind {
    // Required methods
    fn to_kind(&self) -> Kind;
    fn get_type() -> Type
       where Self: Sized;
}

Required Methods§

Source

fn to_kind(&self) -> Kind

Source

fn get_type() -> Type
where Self: Sized,

Implementations on Foreign Types§

Source§

impl ToKind for &str

Source§

impl ToKind for &[u8]

Source§

impl ToKind for bool

Source§

impl ToKind for f64

Source§

impl ToKind for i64

Source§

impl ToKind for String

Source§

impl ToKind for Vec<u8>

Source§

impl ToKind for BigDecimal

Source§

impl ToKind for Timestamp

Source§

fn to_kind(&self) -> Kind

Source§

fn get_type() -> Type
where Self: Sized,

Source§

impl ToKind for Date

Source§

impl ToKind for OffsetDateTime

Source§

impl<T> ToKind for &[T]
where T: ToKind,

Source§

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

Source§

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

Implementors§

Source§

impl ToKind for CommitTimestamp

Source§

impl<T> ToKind for T
where T: ToStruct,