genet_sdk/
variant.rs

1//! Dynamic-typed values.
2//!
3//! Type Variant represents a dynamic-typed value.
4//! Variant can contain one of these types:
5//!
6//! - Nil
7//! - Bool - [`bool`](https://doc.rust-lang.org/std/primitive.bool.html)
8//! - Int64 - [`i64`](https://doc.rust-lang.org/std/primitive.i64.html)
9//! - Uint64 - [`u64`](https://doc.rust-lang.org/std/primitive.u64.html)
10//! - Double - [`f64`](https://doc.rust-lang.org/std/primitive.f64.html)
11//! - String - `Box<str>`,
12//! - Buffer - `Box<[u8]>`,
13//! - Slice - `ByteArray`
14
15pub use genet_abi::variant::{Value, Variant};