ScalarValue

Trait ScalarValue 

Source
pub trait ScalarValue { }
Expand description

The rust type for scalar json node, which can used after operator | to read, or/and operator << to write. Only support i64 for integer, to make use literal number more convenient.

Implementations on Foreign Types§

Source§

impl ScalarValue for &str

Source§

impl ScalarValue for bool

Source§

impl ScalarValue for f64

Source§

impl ScalarValue for i64

Source§

impl ScalarValue for ()

Source§

impl ScalarValue for String

Implementors§