JsonNumericTrait

Trait JsonNumericTrait 

Source
pub trait JsonNumericTrait:
    AsAnyValue
    + AnyValueTrait
    + Send
    + Sync
    + JsonSyntaxTreeTrait {
    // Required methods
    fn as_enum(&self) -> JsonNumericEnum;
    fn clone_boxed(&self) -> JsonNumeric;
    fn as_json_numeric_token(&self) -> Arc<String>;
    fn as_int32(&self) -> Result<i32>;
    fn as_int64(&self) -> Result<i64>;
    fn as_float64(&self) -> Result<f64>;
}

Required Methods§

Implementors§