Enum amadeus_types::Value[][src]

pub enum Value {
Show variants Bool(bool), U8(u8), I8(i8), U16(u16), I16(i16), U32(u32), I32(i32), U64(u64), I64(i64), F32(f32), F64(f64), Date(Date), DateWithoutTimezone(DateWithoutTimezone), Time(Time), TimeWithoutTimezone(TimeWithoutTimezone), DateTime(DateTime), DateTimeWithoutTimezone(DateTimeWithoutTimezone), Timezone(Timezone), Decimal(Decimal), Bson(Bson), String(String), Json(Json), Enum(Enum), Url(Url), Webpage(Webpage<'static>), IpAddr(IpAddr), List(List<Value>), Map(HashMap<Value, Value>), Group(Group), Option(Option<ValueRequired>),
}
Expand description

Represents any valid Amadeus value.

Variants

Bool(bool)

Boolean value (true, false).

U8(u8)

Signed integer INT_8.

I8(i8)

Signed integer INT_16.

U16(u16)

Signed integer INT_32.

I16(i16)

Signed integer INT_64.

U32(u32)

Unsigned integer UINT_8.

I32(i32)

Unsigned integer UINT_16.

U64(u64)

Unsigned integer UINT_32.

I64(i64)

Unsigned integer UINT_64.

F32(f32)

IEEE 32-bit floating point value.

F64(f64)

IEEE 64-bit floating point value.

Date(Date)

Date without a time of day, stores the number of days from the Unix epoch, 1 January 1970.

DateWithoutTimezone(DateWithoutTimezone)

Date without a time of day, stores the number of days from the Unix epoch, 1 January 1970.

Time(Time)

Time of day, stores the number of microseconds from midnight.

TimeWithoutTimezone(TimeWithoutTimezone)

Time of day, stores the number of microseconds from midnight.

DateTime(DateTime)

Milliseconds from the Unix epoch, 1 January 1970.

DateTimeWithoutTimezone(DateTimeWithoutTimezone)

Milliseconds from the Unix epoch, 1 January 1970.

Timezone(Timezone)

Timezone.

Decimal(Decimal)

Decimal value.

Bson(Bson)

BSON binary value.

String(String)

UTF-8 encoded character string.

Json(Json)

JSON string.

Enum(Enum)

Enum string.

Url(Url)

URL

Webpage(Webpage<'static>)

Webpage

IpAddr(IpAddr)

Ip Address

List(List<Value>)

List of elements.

Map of key-value pairs.

Group(Group)

Struct, child elements are tuples of field-value pairs.

Optional element.

Implementations

impl Value[src]

pub fn is_bool(&self) -> bool[src]

Returns true if the Value is an Bool. Returns false otherwise.

pub fn as_bool(&self) -> Result<bool, DowncastError>[src]

If the Value is an Bool, return a reference to it. Returns Err otherwise.

pub fn into_bool(self) -> Result<bool, DowncastError>[src]

If the Value is an Bool, return it. Returns Err otherwise.

pub fn is_u8(&self) -> bool[src]

Returns true if the Value is an U8. Returns false otherwise.

pub fn as_u8(&self) -> Result<u8, DowncastError>[src]

If the Value is an U8, return a reference to it. Returns Err otherwise.

pub fn into_u8(self) -> Result<u8, DowncastError>[src]

If the Value is an U8, return it. Returns Err otherwise.

pub fn is_i8(&self) -> bool[src]

Returns true if the Value is an I8. Returns false otherwise.

pub fn as_i8(&self) -> Result<i8, DowncastError>[src]

If the Value is an I8, return a reference to it. Returns Err otherwise.

pub fn into_i8(self) -> Result<i8, DowncastError>[src]

If the Value is an I8, return it. Returns Err otherwise.

pub fn is_u16(&self) -> bool[src]

Returns true if the Value is an U16. Returns false otherwise.

pub fn as_u16(&self) -> Result<u16, DowncastError>[src]

If the Value is an U16, return a reference to it. Returns Err otherwise.

pub fn into_u16(self) -> Result<u16, DowncastError>[src]

If the Value is an U16, return it. Returns Err otherwise.

pub fn is_i16(&self) -> bool[src]

Returns true if the Value is an I16. Returns false otherwise.

pub fn as_i16(&self) -> Result<i16, DowncastError>[src]

If the Value is an I16, return a reference to it. Returns Err otherwise.

pub fn into_i16(self) -> Result<i16, DowncastError>[src]

If the Value is an I16, return it. Returns Err otherwise.

pub fn is_u32(&self) -> bool[src]

Returns true if the Value is an U32. Returns false otherwise.

pub fn as_u32(&self) -> Result<u32, DowncastError>[src]

If the Value is an U32, return a reference to it. Returns Err otherwise.

pub fn into_u32(self) -> Result<u32, DowncastError>[src]

If the Value is an U32, return it. Returns Err otherwise.

pub fn is_i32(&self) -> bool[src]

Returns true if the Value is an I32. Returns false otherwise.

pub fn as_i32(&self) -> Result<i32, DowncastError>[src]

If the Value is an I32, return a reference to it. Returns Err otherwise.

pub fn into_i32(self) -> Result<i32, DowncastError>[src]

If the Value is an I32, return it. Returns Err otherwise.

pub fn is_u64(&self) -> bool[src]

Returns true if the Value is an U64. Returns false otherwise.

pub fn as_u64(&self) -> Result<u64, DowncastError>[src]

If the Value is an U64, return a reference to it. Returns Err otherwise.

pub fn into_u64(self) -> Result<u64, DowncastError>[src]

If the Value is an U64, return it. Returns Err otherwise.

pub fn is_i64(&self) -> bool[src]

Returns true if the Value is an I64. Returns false otherwise.

pub fn as_i64(&self) -> Result<i64, DowncastError>[src]

If the Value is an I64, return a reference to it. Returns Err otherwise.

pub fn into_i64(self) -> Result<i64, DowncastError>[src]

If the Value is an I64, return it. Returns Err otherwise.

pub fn is_f32(&self) -> bool[src]

Returns true if the Value is an F32. Returns false otherwise.

pub fn as_f32(&self) -> Result<f32, DowncastError>[src]

If the Value is an F32, return a reference to it. Returns Err otherwise.

pub fn into_f32(self) -> Result<f32, DowncastError>[src]

If the Value is an F32, return it. Returns Err otherwise.

pub fn is_f64(&self) -> bool[src]

Returns true if the Value is an F64. Returns false otherwise.

pub fn as_f64(&self) -> Result<f64, DowncastError>[src]

If the Value is an F64, return a reference to it. Returns Err otherwise.

pub fn into_f64(self) -> Result<f64, DowncastError>[src]

If the Value is an F64, return it. Returns Err otherwise.

pub fn is_date(&self) -> bool[src]

Returns true if the Value is an Date. Returns false otherwise.

pub fn as_date(&self) -> Result<&Date, DowncastError>[src]

If the Value is an Date, return a reference to it. Returns Err otherwise.

pub fn into_date(self) -> Result<Date, DowncastError>[src]

If the Value is an Date, return it. Returns Err otherwise.

pub fn is_date_without_timezone(&self) -> bool[src]

Returns true if the Value is an DateWithoutTimezone. Returns false otherwise.

pub fn as_date_without_timezone(
    &self
) -> Result<&DateWithoutTimezone, DowncastError>
[src]

If the Value is an DateWithoutTimezone, return a reference to it. Returns Err otherwise.

pub fn into_date_without_timezone(
    self
) -> Result<DateWithoutTimezone, DowncastError>
[src]

If the Value is an DateWithoutTimezone, return it. Returns Err otherwise.

pub fn is_time(&self) -> bool[src]

Returns true if the Value is an Time. Returns false otherwise.

pub fn as_time(&self) -> Result<&Time, DowncastError>[src]

If the Value is an Time, return a reference to it. Returns Err otherwise.

pub fn into_time(self) -> Result<Time, DowncastError>[src]

If the Value is an Time, return it. Returns Err otherwise.

pub fn is_time_without_timezone(&self) -> bool[src]

Returns true if the Value is an TimeWithoutTimezone. Returns false otherwise.

pub fn as_time_without_timezone(
    &self
) -> Result<&TimeWithoutTimezone, DowncastError>
[src]

If the Value is an TimeWithoutTimezone, return a reference to it. Returns Err otherwise.

pub fn into_time_without_timezone(
    self
) -> Result<TimeWithoutTimezone, DowncastError>
[src]

If the Value is an TimeWithoutTimezone, return it. Returns Err otherwise.

pub fn is_date_time(&self) -> bool[src]

Returns true if the Value is an DateTime. Returns false otherwise.

pub fn as_date_time(&self) -> Result<&DateTime, DowncastError>[src]

If the Value is an DateTime, return a reference to it. Returns Err otherwise.

pub fn into_date_time(self) -> Result<DateTime, DowncastError>[src]

If the Value is an DateTime, return it. Returns Err otherwise.

pub fn is_date_time_without_timezone(&self) -> bool[src]

Returns true if the Value is an DateTimeWithoutTimezone. Returns false otherwise.

pub fn as_date_time_without_timezone(
    &self
) -> Result<&DateTimeWithoutTimezone, DowncastError>
[src]

If the Value is an DateTimeWithoutTimezone, return a reference to it. Returns Err otherwise.

pub fn into_date_time_without_timezone(
    self
) -> Result<DateTimeWithoutTimezone, DowncastError>
[src]

If the Value is an DateTimeWithoutTimezone, return it. Returns Err otherwise.

pub fn is_timezone(&self) -> bool[src]

Returns true if the Value is an Timezone. Returns false otherwise.

pub fn as_timezone(&self) -> Result<&Timezone, DowncastError>[src]

If the Value is an Timezone, return a reference to it. Returns Err otherwise.

pub fn into_timezone(self) -> Result<Timezone, DowncastError>[src]

If the Value is an Timezone, return it. Returns Err otherwise.

pub fn is_decimal(&self) -> bool[src]

Returns true if the Value is an Decimal. Returns false otherwise.

pub fn as_decimal(&self) -> Result<&Decimal, DowncastError>[src]

If the Value is an Decimal, return a reference to it. Returns Err otherwise.

pub fn into_decimal(self) -> Result<Decimal, DowncastError>[src]

If the Value is an Decimal, return it. Returns Err otherwise.

pub fn is_bson(&self) -> bool[src]

Returns true if the Value is an Bson. Returns false otherwise.

pub fn as_bson(&self) -> Result<&Bson, DowncastError>[src]

If the Value is an Bson, return a reference to it. Returns Err otherwise.

pub fn into_bson(self) -> Result<Bson, DowncastError>[src]

If the Value is an Bson, return it. Returns Err otherwise.

pub fn is_string(&self) -> bool[src]

Returns true if the Value is an String. Returns false otherwise.

pub fn as_string(&self) -> Result<&String, DowncastError>[src]

If the Value is an String, return a reference to it. Returns Err otherwise.

pub fn into_string(self) -> Result<String, DowncastError>[src]

If the Value is an String, return it. Returns Err otherwise.

pub fn is_json(&self) -> bool[src]

Returns true if the Value is an Json. Returns false otherwise.

pub fn as_json(&self) -> Result<&Json, DowncastError>[src]

If the Value is an Json, return a reference to it. Returns Err otherwise.

pub fn into_json(self) -> Result<Json, DowncastError>[src]

If the Value is an Json, return it. Returns Err otherwise.

pub fn is_enum(&self) -> bool[src]

Returns true if the Value is an Enum. Returns false otherwise.

pub fn as_enum(&self) -> Result<&Enum, DowncastError>[src]

If the Value is an Enum, return a reference to it. Returns Err otherwise.

pub fn into_enum(self) -> Result<Enum, DowncastError>[src]

If the Value is an Enum, return it. Returns Err otherwise.

pub fn is_url(&self) -> bool[src]

Returns true if the Value is an Url. Returns false otherwise.

pub fn as_url(&self) -> Result<&Url, DowncastError>[src]

If the Value is an Url, return a reference to it. Returns Err otherwise.

pub fn into_url(self) -> Result<Url, DowncastError>[src]

If the Value is an Url, return it. Returns Err otherwise.

pub fn is_webpage(&self) -> bool[src]

Returns true if the Value is an Webpage. Returns false otherwise.

pub fn as_webpage(&self) -> Result<&Webpage<'_>, DowncastError>[src]

If the Value is an Webpage, return a reference to it. Returns Err otherwise.

pub fn into_webpage(self) -> Result<Webpage<'static>, DowncastError>[src]

If the Value is an Webpage, return it. Returns Err otherwise.

pub fn is_ip_addr(&self) -> bool[src]

Returns true if the Value is an IpAddr. Returns false otherwise.

pub fn as_ip_addr(&self) -> Result<&IpAddr, DowncastError>[src]

If the Value is an IpAddr, return a reference to it. Returns Err otherwise.

pub fn into_ip_addr(self) -> Result<IpAddr, DowncastError>[src]

If the Value is an IpAddr, return it. Returns Err otherwise.

pub fn is_list(&self) -> bool[src]

Returns true if the Value is an List. Returns false otherwise.

pub fn as_list(&self) -> Result<&List<Self>, DowncastError>[src]

If the Value is an List, return a reference to it. Returns Err otherwise.

pub fn into_list(self) -> Result<List<Self>, DowncastError>[src]

If the Value is an List, return it. Returns Err otherwise.

pub fn is_map(&self) -> bool[src]

Returns true if the Value is an Map. Returns false otherwise.

pub fn as_map(&self) -> Result<&HashMap<Self, Self>, DowncastError>[src]

If the Value is an Map, return a reference to it. Returns Err otherwise.

pub fn into_map(self) -> Result<HashMap<Self, Self>, DowncastError>[src]

If the Value is an Map, return it. Returns Err otherwise.

pub fn is_group(&self) -> bool[src]

Returns true if the Value is an Group. Returns false otherwise.

pub fn as_group(&self) -> Result<&Group, DowncastError>[src]

If the Value is an Group, return a reference to it. Returns Err otherwise.

pub fn into_group(self) -> Result<Group, DowncastError>[src]

If the Value is an Group, return it. Returns Err otherwise.

pub fn is_option(&self) -> bool[src]

Returns true if the Value is an Option. Returns false otherwise.

pub fn into_option(self) -> Result<Option<Self>, DowncastError>[src]

If the Value is an Option, return it. Returns Err otherwise.

Trait Implementations

impl AmadeusOrd for Value[src]

fn amadeus_cmp(&self, other: &Self) -> Ordering[src]

impl Clone for Value[src]

fn clone(&self) -> Value[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Data for Value[src]

type Vec = ValueVec

type DynamicType = ValueType

fn new_vec(type_: Self::DynamicType) -> Self::Vec[src]

impl Debug for Value[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Value[src]

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl DowncastFrom<Value> for Value[src]

impl DowncastFrom<Value> for bool[src]

impl DowncastFrom<Value> for f32[src]

impl DowncastFrom<Value> for f64[src]

impl DowncastFrom<Value> for Date[src]

impl DowncastFrom<Value> for DateWithoutTimezone[src]

impl DowncastFrom<Value> for Time[src]

impl DowncastFrom<Value> for TimeWithoutTimezone[src]

impl DowncastFrom<Value> for DateTime[src]

impl DowncastFrom<Value> for DateTimeWithoutTimezone[src]

impl DowncastFrom<Value> for Timezone[src]

impl DowncastFrom<Value> for Decimal[src]

impl DowncastFrom<Value> for u8[src]

impl DowncastFrom<Value> for Bson[src]

impl DowncastFrom<Value> for String[src]

impl DowncastFrom<Value> for Json[src]

impl DowncastFrom<Value> for Enum[src]

impl DowncastFrom<Value> for Url[src]

impl DowncastFrom<Value> for Webpage<'static>[src]

impl DowncastFrom<Value> for IpAddr[src]

impl<T: Data> DowncastFrom<Value> for List<T> where
    T: DowncastFrom<Value>, 
[src]

impl<K, V, S> DowncastFrom<Value> for HashMap<K, V, S> where
    K: DowncastFrom<Value> + Hash + Eq,
    V: DowncastFrom<Value>,
    S: BuildHasher + Default
[src]

impl DowncastFrom<Value> for Group[src]

impl DowncastFrom<Value> for i8[src]

impl<T> DowncastFrom<Value> for Option<T> where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 0] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 1] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 2] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 3] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 4] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 5] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 6] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 7] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 8] where
    T: DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for u16[src]

impl<T: Data> DowncastFrom<Value> for [T; 9] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 10] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 11] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 12] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 13] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 14] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 15] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 16] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 17] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 18] where
    T: DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for i16[src]

impl<T: Data> DowncastFrom<Value> for [T; 19] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 20] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 21] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 22] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 23] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 24] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 25] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 26] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 27] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 28] where
    T: DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for u32[src]

impl<T: Data> DowncastFrom<Value> for [T; 29] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 30] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 31] where
    T: DowncastFrom<Value>, 
[src]

impl<T: Data> DowncastFrom<Value> for [T; 32] where
    T: DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for ()[src]

impl<A> DowncastFrom<Value> for (A,) where
    A: DowncastFrom<Value>, 
[src]

impl<A, B> DowncastFrom<Value> for (A, B) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>, 
[src]

impl<A, B, C> DowncastFrom<Value> for (A, B, C) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>, 
[src]

impl<A, B, C, D> DowncastFrom<Value> for (A, B, C, D) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>, 
[src]

impl<A, B, C, D, E> DowncastFrom<Value> for (A, B, C, D, E) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for i32[src]

impl<A, B, C, D, E, F> DowncastFrom<Value> for (A, B, C, D, E, F) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    F: DowncastFrom<Value>, 
[src]

impl<A, B, C, D, E, F, G> DowncastFrom<Value> for (A, B, C, D, E, F, G) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    G: DowncastFrom<Value>, 
[src]

impl<A, B, C, D, E, F, G, H> DowncastFrom<Value> for (A, B, C, D, E, F, G, H) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    G: DowncastFrom<Value>,
    H: DowncastFrom<Value>, 
[src]

impl<A, B, C, D, E, F, G, H, I> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    G: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    I: DowncastFrom<Value>, 
[src]

impl<A, B, C, D, E, F, G, H, I, J> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I, J) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    G: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    I: DowncastFrom<Value>,
    J: DowncastFrom<Value>, 
[src]

impl<A, B, C, D, E, F, G, H, I, J, K> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I, J, K) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    G: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    I: DowncastFrom<Value>,
    J: DowncastFrom<Value>,
    K: DowncastFrom<Value>, 
[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I, J, K, L) where
    A: DowncastFrom<Value>,
    B: DowncastFrom<Value>,
    C: DowncastFrom<Value>,
    D: DowncastFrom<Value>,
    E: DowncastFrom<Value>,
    F: DowncastFrom<Value>,
    G: DowncastFrom<Value>,
    H: DowncastFrom<Value>,
    I: DowncastFrom<Value>,
    J: DowncastFrom<Value>,
    K: DowncastFrom<Value>,
    L: DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for u64[src]

impl DowncastFrom<Value> for i64[src]

impl<T: Data> From<[T; 0]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 0]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 1]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 1]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 10]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 10]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 11]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 11]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 12]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 12]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 13]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 13]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 14]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 14]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 15]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 15]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 16]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 16]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 17]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 17]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 18]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 18]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 19]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 19]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 2]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 2]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 20]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 20]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 21]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 21]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 22]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 22]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 23]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 23]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 24]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 24]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 25]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 25]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 26]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 26]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 27]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 27]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 28]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 28]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 29]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 29]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 3]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 3]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 30]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 30]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 31]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 31]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 32]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 32]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 4]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 4]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 5]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 5]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 6]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 6]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 7]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 7]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 8]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 8]) -> Self[src]

Performs the conversion.

impl<T: Data> From<[T; 9]> for Value where
    T: Into<Self>, 
[src]

fn from(value: [T; 9]) -> Self[src]

Performs the conversion.

impl From<()> for Value[src]

fn from(value: ()) -> Self[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H, I, J, K, L> From<(A, B, C, D, E, F, G, H, I, J, K, L)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>,
    F: Into<Value>,
    G: Into<Value>,
    H: Into<Value>,
    I: Into<Value>,
    J: Into<Value>,
    K: Into<Value>,
    L: Into<Value>, 
[src]

fn from(value: (A, B, C, D, E, F, G, H, I, J, K, L)) -> Self[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H, I, J, K> From<(A, B, C, D, E, F, G, H, I, J, K)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>,
    F: Into<Value>,
    G: Into<Value>,
    H: Into<Value>,
    I: Into<Value>,
    J: Into<Value>,
    K: Into<Value>, 
[src]

fn from(value: (A, B, C, D, E, F, G, H, I, J, K)) -> Self[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>,
    F: Into<Value>,
    G: Into<Value>,
    H: Into<Value>,
    I: Into<Value>,
    J: Into<Value>, 
[src]

fn from(value: (A, B, C, D, E, F, G, H, I, J)) -> Self[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>,
    F: Into<Value>,
    G: Into<Value>,
    H: Into<Value>,
    I: Into<Value>, 
[src]

fn from(value: (A, B, C, D, E, F, G, H, I)) -> Self[src]

Performs the conversion.

impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>,
    F: Into<Value>,
    G: Into<Value>,
    H: Into<Value>, 
[src]

fn from(value: (A, B, C, D, E, F, G, H)) -> Self[src]

Performs the conversion.

impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>,
    F: Into<Value>,
    G: Into<Value>, 
[src]

fn from(value: (A, B, C, D, E, F, G)) -> Self[src]

Performs the conversion.

impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>,
    F: Into<Value>, 
[src]

fn from(value: (A, B, C, D, E, F)) -> Self[src]

Performs the conversion.

impl<A, B, C, D, E> From<(A, B, C, D, E)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>,
    E: Into<Value>, 
[src]

fn from(value: (A, B, C, D, E)) -> Self[src]

Performs the conversion.

impl<A, B, C, D> From<(A, B, C, D)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>,
    D: Into<Value>, 
[src]

fn from(value: (A, B, C, D)) -> Self[src]

Performs the conversion.

impl<A, B, C> From<(A, B, C)> for Value where
    A: Into<Value>,
    B: Into<Value>,
    C: Into<Value>, 
[src]

fn from(value: (A, B, C)) -> Self[src]

Performs the conversion.

impl<A, B> From<(A, B)> for Value where
    A: Into<Value>,
    B: Into<Value>, 
[src]

fn from(value: (A, B)) -> Self[src]

Performs the conversion.

impl<A> From<(A,)> for Value where
    A: Into<Value>, 
[src]

fn from(value: (A,)) -> Self[src]

Performs the conversion.

impl<T> From<Box<T, Global>> for Value where
    T: Into<Self>, 
[src]

fn from(value: Box<T>) -> Self[src]

Performs the conversion.

impl From<Bson> for Value[src]

fn from(value: Bson) -> Self[src]

Performs the conversion.

impl From<Date> for Value[src]

fn from(value: Date) -> Self[src]

Performs the conversion.

impl From<DateTime> for Value[src]

fn from(value: DateTime) -> Self[src]

Performs the conversion.

impl From<DateTimeWithoutTimezone> for Value[src]

fn from(value: DateTimeWithoutTimezone) -> Self[src]

Performs the conversion.

impl From<DateWithoutTimezone> for Value[src]

fn from(value: DateWithoutTimezone) -> Self[src]

Performs the conversion.

impl From<Decimal> for Value[src]

fn from(value: Decimal) -> Self[src]

Performs the conversion.

impl From<Enum> for Value[src]

fn from(value: Enum) -> Self[src]

Performs the conversion.

impl From<Group> for Value[src]

fn from(value: Group) -> Self[src]

Performs the conversion.

impl<K, V, S> From<HashMap<K, V, S>> for Value where
    K: Into<Self> + Hash + Eq,
    V: Into<Self>,
    S: BuildHasher
[src]

fn from(value: HashMap<K, V, S>) -> Self[src]

Performs the conversion.

impl From<IpAddr> for Value[src]

fn from(value: IpAddr) -> Self[src]

Performs the conversion.

impl From<Json> for Value[src]

fn from(value: Json) -> Self[src]

Performs the conversion.

impl<T: Data> From<List<T>> for Value where
    T: Into<Self>, 
[src]

fn from(value: List<T>) -> Self[src]

Performs the conversion.

impl<T> From<Option<T>> for Value where
    T: Into<Self>, 
[src]

fn from(value: Option<T>) -> Self[src]

Performs the conversion.

impl From<String> for Value[src]

fn from(value: String) -> Self[src]

Performs the conversion.

impl From<Time> for Value[src]

fn from(value: Time) -> Self[src]

Performs the conversion.

impl From<TimeWithoutTimezone> for Value[src]

fn from(value: TimeWithoutTimezone) -> Self[src]

Performs the conversion.

impl From<Timezone> for Value[src]

fn from(value: Timezone) -> Self[src]

Performs the conversion.

impl From<Url> for Value[src]

fn from(value: Url) -> Self[src]

Performs the conversion.

impl From<ValueRequired> for Value[src]

fn from(value: ValueRequired) -> Self[src]

Performs the conversion.

impl From<Webpage<'static>> for Value[src]

fn from(value: Webpage<'static>) -> Self[src]

Performs the conversion.

impl From<bool> for Value[src]

fn from(value: bool) -> Self[src]

Performs the conversion.

impl From<f32> for Value[src]

fn from(value: f32) -> Self[src]

Performs the conversion.

impl From<f64> for Value[src]

fn from(value: f64) -> Self[src]

Performs the conversion.

impl From<i16> for Value[src]

fn from(value: i16) -> Self[src]

Performs the conversion.

impl From<i32> for Value[src]

fn from(value: i32) -> Self[src]

Performs the conversion.

impl From<i64> for Value[src]

fn from(value: i64) -> Self[src]

Performs the conversion.

impl From<i8> for Value[src]

fn from(value: i8) -> Self[src]

Performs the conversion.

impl From<u16> for Value[src]

fn from(value: u16) -> Self[src]

Performs the conversion.

impl From<u32> for Value[src]

fn from(value: u32) -> Self[src]

Performs the conversion.

impl From<u64> for Value[src]

fn from(value: u64) -> Self[src]

Performs the conversion.

impl From<u8> for Value[src]

fn from(value: u8) -> Self[src]

Performs the conversion.

impl Hash for Value[src]

fn hash<H: Hasher>(&self, state: &mut H)[src]

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

impl PartialEq<()> for Value where
    Value: , 
[src]

fn eq(&self, other: &()) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H, I, J, K, L> PartialEq<(A, B, C, D, E, F, G, H, I, J, K, L)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D> + PartialEq<E> + PartialEq<F> + PartialEq<G> + PartialEq<H> + PartialEq<I> + PartialEq<J> + PartialEq<K> + PartialEq<L>, 
[src]

fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J, K, L)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H, I, J, K> PartialEq<(A, B, C, D, E, F, G, H, I, J, K)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D> + PartialEq<E> + PartialEq<F> + PartialEq<G> + PartialEq<H> + PartialEq<I> + PartialEq<J> + PartialEq<K>, 
[src]

fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J, K)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H, I, J> PartialEq<(A, B, C, D, E, F, G, H, I, J)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D> + PartialEq<E> + PartialEq<F> + PartialEq<G> + PartialEq<H> + PartialEq<I> + PartialEq<J>, 
[src]

fn eq(&self, other: &(A, B, C, D, E, F, G, H, I, J)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H, I> PartialEq<(A, B, C, D, E, F, G, H, I)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D> + PartialEq<E> + PartialEq<F> + PartialEq<G> + PartialEq<H> + PartialEq<I>, 
[src]

fn eq(&self, other: &(A, B, C, D, E, F, G, H, I)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G, H> PartialEq<(A, B, C, D, E, F, G, H)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D> + PartialEq<E> + PartialEq<F> + PartialEq<G> + PartialEq<H>, 
[src]

fn eq(&self, other: &(A, B, C, D, E, F, G, H)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F, G> PartialEq<(A, B, C, D, E, F, G)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D> + PartialEq<E> + PartialEq<F> + PartialEq<G>, 
[src]

fn eq(&self, other: &(A, B, C, D, E, F, G)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E, F> PartialEq<(A, B, C, D, E, F)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D> + PartialEq<E> + PartialEq<F>, 
[src]

fn eq(&self, other: &(A, B, C, D, E, F)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D, E> PartialEq<(A, B, C, D, E)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D> + PartialEq<E>, 
[src]

fn eq(&self, other: &(A, B, C, D, E)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C, D> PartialEq<(A, B, C, D)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C> + PartialEq<D>, 
[src]

fn eq(&self, other: &(A, B, C, D)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B, C> PartialEq<(A, B, C)> for Value where
    Value: PartialEq<A> + PartialEq<B> + PartialEq<C>, 
[src]

fn eq(&self, other: &(A, B, C)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A, B> PartialEq<(A, B)> for Value where
    Value: PartialEq<A> + PartialEq<B>, 
[src]

fn eq(&self, other: &(A, B)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<A> PartialEq<(A,)> for Value where
    Value: PartialEq<A>, 
[src]

fn eq(&self, other: &(A,)) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<T> PartialEq<Box<T, Global>> for Value where
    Value: PartialEq<T>, 
[src]

fn eq(&self, other: &Box<T>) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Bson> for Value[src]

fn eq(&self, other: &Bson) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Date> for Value[src]

fn eq(&self, other: &Date) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<DateTime> for Value[src]

fn eq(&self, other: &DateTime) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<DateTimeWithoutTimezone> for Value[src]

fn eq(&self, other: &DateTimeWithoutTimezone) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<DateWithoutTimezone> for Value[src]

fn eq(&self, other: &DateWithoutTimezone) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Decimal> for Value[src]

fn eq(&self, other: &Decimal) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Enum> for Value[src]

fn eq(&self, other: &Enum) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Group> for Value[src]

fn eq(&self, other: &Group) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<K, V, S> PartialEq<HashMap<K, V, S>> for Value where
    Value: PartialEq<K> + PartialEq<V>,
    K: Hash + Eq + Clone + Into<Value>,
    S: BuildHasher
[src]

fn eq(&self, other: &HashMap<K, V, S>) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<IpAddr> for Value[src]

fn eq(&self, other: &IpAddr) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Json> for Value[src]

fn eq(&self, other: &Json) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<T: Data> PartialEq<List<T>> for Value where
    Value: PartialEq<T>, 
[src]

fn eq(&self, other: &List<T>) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<T> PartialEq<Option<T>> for Value where
    Value: PartialEq<T>, 
[src]

fn eq(&self, other: &Option<T>) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<String> for Value[src]

fn eq(&self, other: &String) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Time> for Value[src]

fn eq(&self, other: &Time) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<TimeWithoutTimezone> for Value[src]

fn eq(&self, other: &TimeWithoutTimezone) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Timezone> for Value[src]

fn eq(&self, other: &Timezone) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Url> for Value[src]

fn eq(&self, other: &Url) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<Value> for Value[src]

fn eq(&self, other: &Value) -> bool[src]

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

fn ne(&self, other: &Value) -> bool[src]

This method tests for !=.

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

fn eq(&self, other: &Webpage<'a>) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<bool> for Value[src]

fn eq(&self, other: &bool) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<f32> for Value[src]

fn eq(&self, other: &f32) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<f64> for Value[src]

fn eq(&self, other: &f64) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<i16> for Value[src]

fn eq(&self, other: &i16) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<i32> for Value[src]

fn eq(&self, other: &i32) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<i64> for Value[src]

fn eq(&self, other: &i64) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<i8> for Value[src]

fn eq(&self, other: &i8) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<u16> for Value[src]

fn eq(&self, other: &u16) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<u32> for Value[src]

fn eq(&self, other: &u32) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<u64> for Value[src]

fn eq(&self, other: &u64) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialEq<u8> for Value[src]

fn eq(&self, other: &u8) -> bool[src]

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

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl PartialOrd<Value> for Value[src]

fn partial_cmp(&self, other: &Self) -> Option<Ordering>[src]

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

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

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

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

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

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

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

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

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

impl Serialize for Value[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl Eq for Value[src]

impl StructuralPartialEq for Value[src]

Auto Trait Implementations

impl RefUnwindSafe for Value

impl Send for Value

impl Sync for Value

impl Unpin for Value

impl UnwindSafe for Value

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<A, B> Downcast<A> for B where
    A: DowncastFrom<B>, 
[src]

pub fn downcast(Self) -> Result<A, DowncastError>[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

pub fn equivalent(&self, key: &K) -> bool[src]

Compare self to key and return true if they are equal.

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

pub fn vzip(self) -> V

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> ProcessSend for T where
    T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized
[src]