[][src]Trait kiln::ToCell

pub trait ToCell {
    fn to_cell(&self) -> ColumnValue;
}

Wraps the type in a ColumnValue enum. Allows for doing things like 123.to_cell() instead of ColumnValue::i32(123) All int types are cast to an i32 because it makes the db simpler.

Required methods

fn to_cell(&self) -> ColumnValue

Loading content...

Implementations on Foreign Types

impl ToCell for i32[src]

impl ToCell for i64[src]

impl ToCell for i16[src]

impl ToCell for i8[src]

impl ToCell for isize[src]

impl ToCell for str[src]

impl<'_> ToCell for &'_ str[src]

impl ToCell for String[src]

Loading content...

Implementors

Loading content...