Enum unqlite::document::Value [] [src]

pub enum Value {
    Null,
    Int(i64),
    Bool(bool),
    Real(f64),
    String(String),
    Array(Vec<Value>),
    Object(Map),
}

Represent all values that can be stored in a Jx9 variable. It is similar to JSON value.

Variants

Methods

impl Value
[src]

[src]

[src]

Trait Implementations

impl Debug for Value
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Value
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Clone for Value
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Value> for Option<()>
[src]

[src]

Performs the conversion.

impl From<Value> for Option<i64>
[src]

[src]

Performs the conversion.

impl From<Value> for Option<f64>
[src]

[src]

Performs the conversion.

impl From<Value> for Option<bool>
[src]

[src]

Performs the conversion.

impl From<Value> for Option<String>
[src]

[src]

Performs the conversion.

impl From<Value> for Option<Vec<Value>>
[src]

[src]

Performs the conversion.

impl From<Value> for Option<Map>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Value

impl Sync for Value