Enum bd::json::Json[][src]

pub enum Json {
    Null,
    Bool(bool),
    Integer(i128),
    Float(f64),
    String(String),
    Array(Vec<Json>),
    Object(Vec<KeyValue>),
}

Variants

Methods

impl Json
[src]

Trait Implementations

impl Clone for Json
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Json
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Json
[src]

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

This method tests for !=.

impl PartialOrd for Json
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl From<bool> for Json
[src]

Performs the conversion.

impl From<Json> for bool
[src]

Performs the conversion.

impl FromStr for Json
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for Json
[src]

Formats the value using the given formatter. Read more

impl Index<usize> for Json
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl IndexMut<usize> for Json
[src]

Performs the mutable indexing (container[index]) operation.

impl<'a> Index<&'a str> for Json
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<'a> IndexMut<&'a str> for Json
[src]

Performs the mutable indexing (container[index]) operation.

impl Index<Range<usize>> for Json
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<RangeFrom<usize>> for Json
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<RangeTo<usize>> for Json
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<RangeToInclusive<usize>> for Json
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<RangeInclusive<usize>> for Json
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Index<RangeFull> for Json
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl Neg for Json
[src]

The resulting type after applying the - operator.

Performs the unary - operation.

impl Not for Json
[src]

The resulting type after applying the ! operator.

Performs the unary ! operation.

impl Mul for Json
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl Div for Json
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl Rem for Json
[src]

The resulting type after applying the % operator.

Performs the % operation.

impl Add for Json
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub for Json
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl Shr for Json
[src]

The resulting type after applying the >> operator.

Performs the >> operation.

impl Shl for Json
[src]

The resulting type after applying the << operator.

Performs the << operation.

impl BitAnd for Json
[src]

The resulting type after applying the & operator.

Performs the & operation.

impl BitXor for Json
[src]

The resulting type after applying the ^ operator.

Performs the ^ operation.

impl BitOr for Json
[src]

The resulting type after applying the | operator.

Performs the | operation.

Auto Trait Implementations

impl Send for Json

impl Sync for Json