[][src]Enum amadeus::Value

pub enum Value {
    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, RandomState>),
    Group(Group),
    Option(Option<ValueRequired>),
}

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<Value>, DowncastError>[src]

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

pub fn into_list(self) -> Result<List<Value>, 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<Value, Value, RandomState>, DowncastError>
[src]

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

pub fn into_map(
    self
) -> Result<HashMap<Value, Value, RandomState>, 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<Value>, DowncastError>[src]

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

Trait Implementations

impl AmadeusOrd for Value[src]

impl Clone for Value[src]

impl Data for Value[src]

type Vec = ValueVec

type DynamicType = ValueType

impl Data for Value[src]

impl Debug for Value[src]

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

impl DowncastFrom<Value> for i8[src]

impl DowncastFrom<Value> for DateWithoutTimezone[src]

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

impl DowncastFrom<Value> for Time[src]

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

impl DowncastFrom<Value> for i64[src]

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

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

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

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

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

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

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

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

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

impl DowncastFrom<Value> for Enum[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<T> DowncastFrom<Value> for [T; 16] where
    T: Data + DowncastFrom<Value>, 
[src]

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

impl DowncastFrom<Value> for DateTime[src]

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

impl DowncastFrom<Value> for Url[src]

impl DowncastFrom<Value> for IpAddr[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<T> DowncastFrom<Value> for [T; 9] where
    T: Data + DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for f32[src]

impl DowncastFrom<Value> for u64[src]

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

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

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

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

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

impl DowncastFrom<Value> for f64[src]

impl<T> DowncastFrom<Value> for [T; 23] where
    T: Data + 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, 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<T> DowncastFrom<Value> for [T; 8] where
    T: Data + DowncastFrom<Value>, 
[src]

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

impl DowncastFrom<Value> for u16[src]

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

impl DowncastFrom<Value> for Bson[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 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 DowncastFrom<Value> for i16[src]

impl DowncastFrom<Value> for Group[src]

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

impl DowncastFrom<Value> for DateTimeWithoutTimezone[src]

impl<T> DowncastFrom<Value> for [T; 28] where
    T: Data + 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<T> DowncastFrom<Value> for [T; 27] where
    T: Data + DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for Timezone[src]

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

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

impl DowncastFrom<Value> for u32[src]

impl DowncastFrom<Value> for Date[src]

impl DowncastFrom<Value> for Json[src]

impl DowncastFrom<Value> for String[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<T> DowncastFrom<Value> for Option<T> where
    T: DowncastFrom<Value>, 
[src]

impl DowncastFrom<Value> for TimeWithoutTimezone[src]

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

impl DowncastFrom<Value> for Decimal[src]

impl DowncastFrom<Value> for u8[src]

impl DowncastFrom<Value> for ()[src]

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

impl<T> DowncastFrom<Value> for [T; 1] where
    T: Data + 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 DowncastFrom<Value> for bool[src]

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

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

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

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

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

impl DowncastFrom<Value> for CloudfrontRow[src]

impl<T> DowncastFrom<Value> for [T; 6] where
    T: Data + 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 Eq for Value[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl From<()> for Value[src]

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]

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]

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]

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]

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]

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]

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]

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]

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]

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

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

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

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

impl From<Bson> for Value[src]

impl From<CloudfrontRow> for Value[src]

impl From<Date> for Value[src]

impl From<DateTime> for Value[src]

impl From<DateTimeWithoutTimezone> for Value[src]

impl From<DateWithoutTimezone> for Value[src]

impl From<Decimal> for Value[src]

impl From<Enum> for Value[src]

impl From<Group> for Value[src]

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

impl From<IpAddr> for Value[src]

impl From<Json> for Value[src]

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

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

impl From<String> for Value[src]

impl From<Time> for Value[src]

impl From<TimeWithoutTimezone> for Value[src]

impl From<Timezone> for Value[src]

impl From<Url> for Value[src]

impl From<ValueRequired> for Value[src]

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

impl From<bool> for Value[src]

impl From<f32> for Value[src]

impl From<f64> for Value[src]

impl From<i16> for Value[src]

impl From<i32> for Value[src]

impl From<i64> for Value[src]

impl From<i8> for Value[src]

impl From<u16> for Value[src]

impl From<u32> for Value[src]

impl From<u64> for Value[src]

impl From<u8> for Value[src]

impl Hash for Value[src]

impl ParquetData for Value[src]

type Schema = ValueSchema

type Reader = ValueReader

type Predicate = ValuePredicate

fn parse(
    schema: &Type,
    predicate: Option<&<Value as ParquetData>::Predicate>,
    repetition: Option<Repetition>
) -> Result<(String, <Value as ParquetData>::Schema), ParquetError>
[src]

This is reused by many of the other ParquetData implementations. It is the canonical encoding of the mapping from [Type]s to Schemas.

impl PartialEq<()> for Value[src]

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>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>,
    Value: PartialEq<I>,
    Value: PartialEq<J>,
    Value: PartialEq<K>,
    Value: PartialEq<L>, 
[src]

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>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>,
    Value: PartialEq<I>,
    Value: PartialEq<J>,
    Value: PartialEq<K>, 
[src]

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>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>,
    Value: PartialEq<I>,
    Value: PartialEq<J>, 
[src]

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>,
    Value: PartialEq<B>,
    Value: PartialEq<C>,
    Value: PartialEq<D>,
    Value: PartialEq<E>,
    Value: PartialEq<F>,
    Value: PartialEq<G>,
    Value: PartialEq<H>,
    Value: PartialEq<I>, 
[src]

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

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

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

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

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

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

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

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

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

impl PartialEq<Bson> for Value[src]

impl PartialEq<Date> for Value[src]

impl PartialEq<DateTime> for Value[src]

impl PartialEq<DateTimeWithoutTimezone> for Value[src]

impl PartialEq<DateWithoutTimezone> for Value[src]

impl PartialEq<Decimal> for Value[src]

impl PartialEq<Enum> for Value[src]

impl PartialEq<Group> for Value[src]

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

impl PartialEq<IpAddr> for Value[src]

impl PartialEq<Json> for Value[src]

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

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

impl PartialEq<String> for Value[src]

impl PartialEq<Time> for Value[src]

impl PartialEq<TimeWithoutTimezone> for Value[src]

impl PartialEq<Timezone> for Value[src]

impl PartialEq<Url> for Value[src]

impl PartialEq<Value> for Value[src]

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

impl PartialEq<bool> for Value[src]

impl PartialEq<f32> for Value[src]

impl PartialEq<f64> for Value[src]

impl PartialEq<i16> for Value[src]

impl PartialEq<i32> for Value[src]

impl PartialEq<i64> for Value[src]

impl PartialEq<i8> for Value[src]

impl PartialEq<u16> for Value[src]

impl PartialEq<u32> for Value[src]

impl PartialEq<u64> for Value[src]

impl PartialEq<u8> for Value[src]

impl PartialOrd<Value> for Value[src]

impl PostgresData for Value[src]

impl SerdeData for Value[src]

impl Serialize 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]

impl<T> Any for T where
    T: Any + Serialize + Deserialize
[src]

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

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

impl<T> Debug for T where
    T: Debug + Serialize + Deserialize + ?Sized
[src]

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

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

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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.

impl<T> Type for T[src]

type Meta = Concrete

Type of metadata for type.

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

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