Trait IntoCellValue

Source
pub trait IntoCellValue {
    // Required method
    fn to_cell_value(&self) -> CellValue;
}
Available on crate feature row only.
Expand description

Convert a value into a JSON CellValue.

CellValue captures the types that can appear within a cell of the output table.

Required Methods§

Implementations on Foreign Types§

Source§

impl IntoCellValue for bool

Source§

impl IntoCellValue for f32

Source§

impl IntoCellValue for f64

Source§

impl IntoCellValue for i8

Source§

impl IntoCellValue for i16

Source§

impl IntoCellValue for i32

Source§

impl IntoCellValue for i64

Source§

impl IntoCellValue for isize

Source§

impl IntoCellValue for u8

Source§

impl IntoCellValue for u16

Source§

impl IntoCellValue for u32

Source§

impl IntoCellValue for u64

Source§

impl IntoCellValue for usize

Source§

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

Source§

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

Source§

impl<T> IntoCellValue for DateTime<T>
where T: TimeZone, <T as TimeZone>::Offset: Display,

Implementors§