PartitionFieldValueConverter

Trait PartitionFieldValueConverter 

Source
pub trait PartitionFieldValueConverter {
    // Required method
    fn to_value(self) -> Value;
}
Expand description

Trait used by [make_partition] to convert native types to Pancake IDL types.

Required Methods§

Source

fn to_value(self) -> Value

Implementations on Foreign Types§

Source§

impl PartitionFieldValueConverter for bool

Source§

impl PartitionFieldValueConverter for i64

Source§

impl PartitionFieldValueConverter for String

Source§

impl PartitionFieldValueConverter for SystemTime

Implementors§