Enum json_gettext::Value[][src]

pub enum Value<'a> {
    Str(&'a str),
    JSONValue(Value),
    JSONValueRef(&'a Value),
}

Variants

Methods

impl<'a> Value<'a>
[src]

Convert to a string for JSON format.

Trait Implementations

impl<'a> Debug for Value<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for Value<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Value<'a>
[src]

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

This method tests for !=.

impl<'a> Serialize for Value<'a>
[src]

Serialize this value into the given Serde serializer. Read more

impl<'a> PartialEq<Value<'a>> for str
[src]

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

This method tests for !=.

impl<'a> PartialEq<Value<'a>> for &'a str
[src]

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

This method tests for !=.

impl<'a> Display for Value<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Value<'a>

impl<'a> Sync for Value<'a>