Enum amadeus::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, RandomState>), 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 of elements.
Map(HashMap<Value, Value, RandomState>)
Map of key-value pairs.
Group(Group)
Struct, child elements are tuples of field-value pairs.
Option(Option<ValueRequired>)
Optional element.
Implementations
impl Value
[src]
impl Value
[src]pub fn as_bool(&self) -> Result<bool, DowncastError>
[src]
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]
pub fn into_bool(self) -> Result<bool, DowncastError>
[src]If the Value
is an Bool, return it. Returns Err otherwise.
pub fn as_u8(&self) -> Result<u8, DowncastError>
[src]
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]
pub fn into_u8(self) -> Result<u8, DowncastError>
[src]If the Value
is an U8, return it. Returns Err otherwise.
pub fn as_i8(&self) -> Result<i8, DowncastError>
[src]
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]
pub fn into_i8(self) -> Result<i8, DowncastError>
[src]If the Value
is an I8, return it. Returns Err otherwise.
pub fn as_u16(&self) -> Result<u16, DowncastError>
[src]
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]
pub fn into_u16(self) -> Result<u16, DowncastError>
[src]If the Value
is an U16, return it. Returns Err otherwise.
pub fn as_i16(&self) -> Result<i16, DowncastError>
[src]
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]
pub fn into_i16(self) -> Result<i16, DowncastError>
[src]If the Value
is an I16, return it. Returns Err otherwise.
pub fn as_u32(&self) -> Result<u32, DowncastError>
[src]
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]
pub fn into_u32(self) -> Result<u32, DowncastError>
[src]If the Value
is an U32, return it. Returns Err otherwise.
pub fn as_i32(&self) -> Result<i32, DowncastError>
[src]
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]
pub fn into_i32(self) -> Result<i32, DowncastError>
[src]If the Value
is an I32, return it. Returns Err otherwise.
pub fn as_u64(&self) -> Result<u64, DowncastError>
[src]
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]
pub fn into_u64(self) -> Result<u64, DowncastError>
[src]If the Value
is an U64, return it. Returns Err otherwise.
pub fn as_i64(&self) -> Result<i64, DowncastError>
[src]
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]
pub fn into_i64(self) -> Result<i64, DowncastError>
[src]If the Value
is an I64, return it. Returns Err otherwise.
pub fn as_f32(&self) -> Result<f32, DowncastError>
[src]
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]
pub fn into_f32(self) -> Result<f32, DowncastError>
[src]If the Value
is an F32, return it. Returns Err otherwise.
pub fn as_f64(&self) -> Result<f64, DowncastError>
[src]
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]
pub fn into_f64(self) -> Result<f64, DowncastError>
[src]If the Value
is an F64, return it. Returns Err otherwise.
pub fn as_date(&self) -> Result<&Date, DowncastError>
[src]
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]
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]
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]
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]
pub fn into_date_without_timezone(
self
) -> Result<DateWithoutTimezone, DowncastError>
[src]If the Value
is an DateWithoutTimezone, return it. Returns Err otherwise.
pub fn as_time(&self) -> Result<&Time, DowncastError>
[src]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
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]
pub fn into_decimal(self) -> Result<Decimal, DowncastError>
[src]If the Value
is an Decimal, return it. Returns Err otherwise.
pub fn as_bson(&self) -> Result<&Bson, DowncastError>
[src]
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]
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]
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]
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]
pub fn into_string(self) -> Result<String, DowncastError>
[src]If the Value
is an String, return it. Returns Err otherwise.
pub fn as_json(&self) -> Result<&Json, DowncastError>
[src]
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]
pub fn into_json(self) -> Result<Json, DowncastError>
[src]If the Value
is an Json, return it. Returns Err otherwise.
pub fn as_enum(&self) -> Result<&Enum, DowncastError>
[src]
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]
pub fn into_enum(self) -> Result<Enum, DowncastError>
[src]If the Value
is an Enum, return it. Returns Err otherwise.
pub fn as_url(&self) -> Result<&Url, DowncastError>
[src]
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]
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]
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]
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]
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]
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]
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]
pub fn into_ip_addr(self) -> Result<IpAddr, DowncastError>
[src]If the Value
is an IpAddr, return it. Returns Err otherwise.
pub fn as_list(&self) -> Result<&List<Value>, DowncastError>
[src]
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]
pub fn into_list(self) -> Result<List<Value>, DowncastError>
[src]If the Value
is an List, return it. Returns Err otherwise.
pub fn as_map(
&self
) -> Result<&HashMap<Value, Value, RandomState>, DowncastError>
[src]
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]
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 as_group(&self) -> Result<&Group, DowncastError>
[src]
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]
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]
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]
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 AmadeusOrd for Value
[src]pub fn amadeus_cmp(&self, other: &Value) -> Ordering
[src]
impl Data for Value
[src]
impl Data for Value
[src]type Vec = ValueVec
type DynamicType = ValueType
pub fn new_vec(type_: <Value as Data>::DynamicType) -> <Value as Data>::Vec
[src]
impl<'de> Deserialize<'de> for Value
[src]
impl<'de> Deserialize<'de> for Value
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Value, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Value, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<T> DowncastFrom<Value> for [T; 29] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 29] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 29], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 16] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 16] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 16], DowncastError>
[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<K, V, S> DowncastFrom<Value> for HashMap<K, V, S> where
K: DowncastFrom<Value> + Hash + Eq,
V: DowncastFrom<Value>,
S: BuildHasher + Default,
[src]pub fn downcast_from(self_: Value) -> Result<HashMap<K, V, S>, DowncastError>
[src]
impl DowncastFrom<Value> for i32
[src]
impl DowncastFrom<Value> for i32
[src]pub fn downcast_from(self_: Value) -> Result<i32, DowncastError>
[src]
impl DowncastFrom<Value> for u32
[src]
impl DowncastFrom<Value> for u32
[src]pub fn downcast_from(self_: Value) -> Result<u32, DowncastError>
[src]
impl<A, B> DowncastFrom<Value> for (A, B) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]
impl<A, B> DowncastFrom<Value> for (A, B) where
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<(A, B), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 18] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 18] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 18], DowncastError>
[src]
impl DowncastFrom<Value> for Group
[src]
impl DowncastFrom<Value> for Group
[src]pub fn downcast_from(self_: Value) -> Result<Group, DowncastError>
[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
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
K: DowncastFrom<Value>,
F: DowncastFrom<Value>,
I: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
J: DowncastFrom<Value>,
L: 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
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
K: DowncastFrom<Value>,
F: DowncastFrom<Value>,
I: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
J: DowncastFrom<Value>,
L: DowncastFrom<Value>,
[src]pub fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J, K, L), DowncastError>
impl DowncastFrom<Value> for Url
[src]
impl DowncastFrom<Value> for Url
[src]pub fn downcast_from(self_: Value) -> Result<Url, DowncastError>
[src]
impl DowncastFrom<Value> for Enum
[src]
impl DowncastFrom<Value> for Enum
[src]pub fn downcast_from(self_: Value) -> Result<Enum, DowncastError>
[src]
impl<A, B, C, D, E, F> DowncastFrom<Value> for (A, B, C, D, E, F) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
F: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]
impl<A, B, C, D, E, F> DowncastFrom<Value> for (A, B, C, D, E, F) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
F: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<(A, B, C, D, E, F), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 5] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 5] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 5], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 32] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 32] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 32], DowncastError>
[src]
impl<A, B, C, D, E, F, G, H> DowncastFrom<Value> for (A, B, C, D, E, F, G, H) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
F: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: 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
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
F: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
[src]pub fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H), DowncastError>
impl<A, B, C, D, E, F, G> DowncastFrom<Value> for (A, B, C, D, E, F, G) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
F: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
[src]
impl<A, B, C, D, E, F, G> DowncastFrom<Value> for (A, B, C, D, E, F, G) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
F: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
[src]pub fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G), DowncastError>
impl DowncastFrom<Value> for Timezone
[src]
impl DowncastFrom<Value> for Timezone
[src]pub fn downcast_from(self_: Value) -> Result<Timezone, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 11] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 11] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 11], DowncastError>
[src]
impl DowncastFrom<Value> for TimeWithoutTimezone
[src]
impl DowncastFrom<Value> for TimeWithoutTimezone
[src]pub fn downcast_from(self_: Value) -> Result<TimeWithoutTimezone, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 25] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 25] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 25], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 13] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 13] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 13], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 9] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 9] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 9], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 23] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 23] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 23], DowncastError>
[src]
impl DowncastFrom<Value> for i64
[src]
impl DowncastFrom<Value> for i64
[src]pub fn downcast_from(self_: Value) -> Result<i64, DowncastError>
[src]
impl DowncastFrom<Value> for DateTimeWithoutTimezone
[src]
impl DowncastFrom<Value> for DateTimeWithoutTimezone
[src]pub fn downcast_from(
self_: Value
) -> Result<DateTimeWithoutTimezone, DowncastError>
[src]
self_: Value
) -> Result<DateTimeWithoutTimezone, DowncastError>
impl<T> DowncastFrom<Value> for [T; 30] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 30] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 30], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 12] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 12] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 12], DowncastError>
[src]
impl<A, B, C, D, E> DowncastFrom<Value> for (A, B, C, D, E) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]
impl<A, B, C, D, E> DowncastFrom<Value> for (A, B, C, D, E) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<(A, B, C, D, E), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 1] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 1] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 1], DowncastError>
[src]
impl DowncastFrom<Value> for Json
[src]
impl DowncastFrom<Value> for Json
[src]pub fn downcast_from(self_: Value) -> Result<Json, DowncastError>
[src]
impl DowncastFrom<Value> for DateWithoutTimezone
[src]
impl DowncastFrom<Value> for DateWithoutTimezone
[src]pub fn downcast_from(self_: Value) -> Result<DateWithoutTimezone, DowncastError>
[src]
impl<T> DowncastFrom<Value> for List<T> where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for List<T> where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<List<T>, DowncastError>
[src]
impl DowncastFrom<Value> for ()
[src]
impl DowncastFrom<Value> for ()
[src]pub fn downcast_from(self_: Value) -> Result<(), DowncastError>
[src]
impl DowncastFrom<Value> for Decimal
[src]
impl DowncastFrom<Value> for Decimal
[src]pub fn downcast_from(self_: Value) -> Result<Decimal, DowncastError>
[src]
impl<A, B, C, D, E, F, G, H, I> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
F: DowncastFrom<Value>,
I: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: 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
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
F: DowncastFrom<Value>,
I: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
[src]pub fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I), DowncastError>
impl<T> DowncastFrom<Value> for [T; 4] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 4] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 4], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 27] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 27] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 27], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 31] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 31] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 31], DowncastError>
[src]
impl DowncastFrom<Value> for Bson
[src]
impl DowncastFrom<Value> for Bson
[src]pub fn downcast_from(self_: Value) -> Result<Bson, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 20] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 20] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 20], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 15] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 15] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 15], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 10] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 10] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 10], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 0] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 0] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 0], DowncastError>
[src]
impl DowncastFrom<Value> for bool
[src]
impl DowncastFrom<Value> for bool
[src]pub fn downcast_from(self_: Value) -> Result<bool, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 28] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 28] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 28], DowncastError>
[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
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
F: DowncastFrom<Value>,
I: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
J: 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
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
F: DowncastFrom<Value>,
I: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
J: DowncastFrom<Value>,
[src]pub fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J), DowncastError>
impl<T> DowncastFrom<Value> for [T; 21] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 21] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 21], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 7] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 7] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 7], DowncastError>
[src]
impl DowncastFrom<Value> for String
[src]
impl DowncastFrom<Value> for String
[src]pub fn downcast_from(self_: Value) -> Result<String, DowncastError>
[src]
impl DowncastFrom<Value> for f32
[src]
impl DowncastFrom<Value> for f32
[src]pub fn downcast_from(self_: Value) -> Result<f32, DowncastError>
[src]
impl<A, B, C> DowncastFrom<Value> for (A, B, C) where
C: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]
impl<A, B, C> DowncastFrom<Value> for (A, B, C) where
C: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<(A, B, C), DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 3] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 3] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 3], DowncastError>
[src]
impl DowncastFrom<Value> for Value
[src]
impl DowncastFrom<Value> for Value
[src]pub fn downcast_from(self_: Value) -> Result<Value, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 24] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 24] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 24], DowncastError>
[src]
impl DowncastFrom<Value> for IpAddr
[src]
impl DowncastFrom<Value> for IpAddr
[src]pub fn downcast_from(self_: Value) -> Result<IpAddr, DowncastError>
[src]
impl DowncastFrom<Value> for Time
[src]
impl DowncastFrom<Value> for Time
[src]pub fn downcast_from(self_: Value) -> Result<Time, DowncastError>
[src]
impl DowncastFrom<Value> for Webpage<'static>
[src]
impl DowncastFrom<Value> for Webpage<'static>
[src]pub fn downcast_from(self_: Value) -> Result<Webpage<'static>, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 22] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 22] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 22], DowncastError>
[src]
impl DowncastFrom<Value> for f64
[src]
impl DowncastFrom<Value> for f64
[src]pub fn downcast_from(self_: Value) -> Result<f64, DowncastError>
[src]
impl DowncastFrom<Value> for DateTime
[src]
impl DowncastFrom<Value> for DateTime
[src]pub fn downcast_from(self_: Value) -> Result<DateTime, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 6] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 6] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 6], DowncastError>
[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
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
K: DowncastFrom<Value>,
F: DowncastFrom<Value>,
I: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: 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
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
H: DowncastFrom<Value>,
K: DowncastFrom<Value>,
F: DowncastFrom<Value>,
I: DowncastFrom<Value>,
E: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
G: DowncastFrom<Value>,
J: DowncastFrom<Value>,
[src]pub fn downcast_from(
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), DowncastError>
[src]
self_: Value
) -> Result<(A, B, C, D, E, F, G, H, I, J, K), DowncastError>
impl DowncastFrom<Value> for i8
[src]
impl DowncastFrom<Value> for i8
[src]pub fn downcast_from(self_: Value) -> Result<i8, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 8] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 8] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 8], DowncastError>
[src]
impl DowncastFrom<Value> for u8
[src]
impl DowncastFrom<Value> for u8
[src]pub fn downcast_from(self_: Value) -> Result<u8, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 26] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 26] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 26], DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 2] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 2] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 2], DowncastError>
[src]
impl DowncastFrom<Value> for u64
[src]
impl DowncastFrom<Value> for u64
[src]pub fn downcast_from(self_: Value) -> Result<u64, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 17] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 17] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 17], DowncastError>
[src]
impl DowncastFrom<Value> for u16
[src]
impl DowncastFrom<Value> for u16
[src]pub fn downcast_from(self_: Value) -> Result<u16, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 19] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 19] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 19], DowncastError>
[src]
impl<T> DowncastFrom<Value> for Option<T> where
T: DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for Option<T> where
T: DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<Option<T>, DowncastError>
[src]
impl<T> DowncastFrom<Value> for [T; 14] where
T: Data + DowncastFrom<Value>,
[src]
impl<T> DowncastFrom<Value> for [T; 14] where
T: Data + DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<[T; 14], DowncastError>
[src]
impl DowncastFrom<Value> for Date
[src]
impl DowncastFrom<Value> for Date
[src]pub fn downcast_from(self_: Value) -> Result<Date, DowncastError>
[src]
impl<A, B, C, D> DowncastFrom<Value> for (A, B, C, D) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]
impl<A, B, C, D> DowncastFrom<Value> for (A, B, C, D) where
C: DowncastFrom<Value>,
D: DowncastFrom<Value>,
A: DowncastFrom<Value>,
B: DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<(A, B, C, D), DowncastError>
[src]
impl DowncastFrom<Value> for CloudfrontRow
[src]
impl DowncastFrom<Value> for CloudfrontRow
[src]fn downcast_from(t: Value) -> Result<Self, DowncastError>
[src]
impl DowncastFrom<Value> for i16
[src]
impl DowncastFrom<Value> for i16
[src]pub fn downcast_from(self_: Value) -> Result<i16, DowncastError>
[src]
impl<A> DowncastFrom<Value> for (A,) where
A: DowncastFrom<Value>,
[src]
impl<A> DowncastFrom<Value> for (A,) where
A: DowncastFrom<Value>,
[src]pub fn downcast_from(self_: Value) -> Result<(A,), DowncastError>
[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
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
K: Into<Value>,
F: Into<Value>,
I: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
J: Into<Value>,
L: Into<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
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
K: Into<Value>,
F: Into<Value>,
I: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
J: 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
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
K: Into<Value>,
F: Into<Value>,
I: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
J: 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
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
K: Into<Value>,
F: Into<Value>,
I: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
J: 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
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
F: Into<Value>,
I: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
J: 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
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
F: Into<Value>,
I: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: 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
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
F: Into<Value>,
I: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: 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
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
F: Into<Value>,
I: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
[src]impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Value where
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
F: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
[src]
impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Value where
C: Into<Value>,
D: Into<Value>,
H: Into<Value>,
F: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
[src]impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Value where
C: Into<Value>,
D: Into<Value>,
F: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
[src]
impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Value where
C: Into<Value>,
D: Into<Value>,
F: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
G: Into<Value>,
[src]impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Value where
C: Into<Value>,
D: Into<Value>,
F: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
[src]
impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Value where
C: Into<Value>,
D: Into<Value>,
F: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
[src]impl<A, B, C, D, E> From<(A, B, C, D, E)> for Value where
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
[src]
impl<A, B, C, D, E> From<(A, B, C, D, E)> for Value where
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
A: Into<Value>,
B: Into<Value>,
[src]impl<A, B, C, D> From<(A, B, C, D)> for Value where
C: Into<Value>,
D: Into<Value>,
A: Into<Value>,
B: Into<Value>,
[src]
impl<A, B, C, D> From<(A, B, C, D)> for Value where
C: Into<Value>,
D: Into<Value>,
A: Into<Value>,
B: Into<Value>,
[src]impl From<CloudfrontRow> for Value
[src]
impl From<CloudfrontRow> for Value
[src]fn from(value: CloudfrontRow) -> Self
[src]
fn from(value: CloudfrontRow) -> Self
[src]Performs the conversion.
impl From<DateTimeWithoutTimezone> for Value
[src]
impl From<DateTimeWithoutTimezone> for Value
[src]pub fn from(value: DateTimeWithoutTimezone) -> Value
[src]
pub fn from(value: DateTimeWithoutTimezone) -> Value
[src]Performs the conversion.
impl From<DateWithoutTimezone> for Value
[src]
impl From<DateWithoutTimezone> for Value
[src]pub fn from(value: DateWithoutTimezone) -> Value
[src]
pub fn from(value: DateWithoutTimezone) -> Value
[src]Performs the conversion.
impl<K, V, S> From<HashMap<K, V, S>> for Value where
K: Into<Value> + Hash + Eq,
V: Into<Value>,
S: BuildHasher,
[src]
impl<K, V, S> From<HashMap<K, V, S>> for Value where
K: Into<Value> + Hash + Eq,
V: Into<Value>,
S: BuildHasher,
[src]impl From<TimeWithoutTimezone> for Value
[src]
impl From<TimeWithoutTimezone> for Value
[src]pub fn from(value: TimeWithoutTimezone) -> Value
[src]
pub fn from(value: TimeWithoutTimezone) -> Value
[src]Performs the conversion.
impl From<ValueRequired> for Value
[src]
impl From<ValueRequired> for Value
[src]pub fn from(value: ValueRequired) -> Value
[src]
pub fn from(value: ValueRequired) -> Value
[src]Performs the conversion.
impl ParquetData for Value
[src]
impl ParquetData for Value
[src]pub fn parse(
schema: &Type,
predicate: Option<&<Value as ParquetData>::Predicate>,
repetition: Option<Repetition>
) -> Result<(String, <Value as ParquetData>::Schema), ParquetError>
[src]
pub 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.
type Schema = ValueSchema
type Reader = ValueReader
type Predicate = ValuePredicate
pub fn reader(
schema: &<Value as ParquetData>::Schema,
path: &mut Vec<String, Global>,
def_level: i16,
rep_level: i16,
paths: &mut HashMap<ColumnPath, ColumnReader, RandomState>,
batch_size: usize
) -> <Value as ParquetData>::Reader
[src]
pub fn reader(
schema: &<Value as ParquetData>::Schema,
path: &mut Vec<String, Global>,
def_level: i16,
rep_level: i16,
paths: &mut HashMap<ColumnPath, ColumnReader, RandomState>,
batch_size: usize
) -> <Value as ParquetData>::Reader
[src]Builds tree of [Reader
]s for the specified [Schema
] recursively.
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, 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, 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, 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, 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, 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, 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, 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, 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, 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, C> PartialEq<(A, B, C)> for Value where
Value: PartialEq<A>,
Value: PartialEq<B>,
Value: PartialEq<C>,
[src]impl PartialEq<DateTimeWithoutTimezone> for Value
[src]
impl PartialEq<DateTimeWithoutTimezone> for Value
[src]impl PartialEq<DateWithoutTimezone> for Value
[src]
impl PartialEq<DateWithoutTimezone> 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<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<TimeWithoutTimezone> for Value
[src]
impl PartialEq<TimeWithoutTimezone> for Value
[src]impl PartialOrd<Value> for Value
[src]
impl PartialOrd<Value> for Value
[src]pub fn partial_cmp(&self, other: &Value) -> Option<Ordering>
[src]
pub fn partial_cmp(&self, other: &Value) -> 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]
#[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]
#[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
impl PostgresData for Value
[src]
impl PostgresData for Value
[src]impl SerdeData for Value
[src]
impl SerdeData for Value
[src]pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn deserialize<'de, D>(
deserializer: D,
schema: Option<SchemaIncomplete>
) -> Result<Value, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D,
schema: Option<SchemaIncomplete>
) -> Result<Value, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Serialize for Value
[src]
impl Serialize for Value
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::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: Any + Serialize + Deserialize,
[src]
impl<T> Any for T where
T: Any + Serialize + Deserialize,
[src]impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[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]
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]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
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]
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> Type for T
[src]
impl<T> Type for T
[src]pub fn meta(self: *const T) -> <T as Type>::Meta
[src]
pub fn meta(self: *const T) -> <T as Type>::Meta
[src]Retrieve TraitObject
, Slice
or Concrete
meta data respectively for a type
pub fn dangling(_t: <T as Type>::Meta) -> NonNull<T>
[src]
pub fn dangling(_t: <T as Type>::Meta) -> NonNull<T>
[src]Create a dangling non-null *const Self
with the provided Self::Meta
.
pub fn fatten(thin: *mut (), _t: <T as Type>::Meta) -> *mut T
[src]
pub fn fatten(thin: *mut (), _t: <T as Type>::Meta) -> *mut T
[src]Create a *mut Self
with the provided Self::Meta
.
fn meta_type(self: *const Self) -> MetaType
[src]
fn meta_type(self: *const Self) -> MetaType
[src]Helper method describing whether a type is TraitObject
, Slice
or Concrete
.
impl<T> Type for T where
T: ?Sized,
[src]
impl<T> Type for T where
T: ?Sized,
[src]pub default fn meta(self: *const T) -> <T as Type>::Meta
[src]
pub default fn meta(self: *const T) -> <T as Type>::Meta
[src]Retrieve TraitObject
, Slice
or Concrete
meta data respectively for a type
pub default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
[src]
pub default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
[src]Create a dangling non-null *const Self
with the provided Self::Meta
.
pub default fn fatten(thin: *mut (), t: <T as Type>::Meta) -> *mut T
[src]
pub default fn fatten(thin: *mut (), t: <T as Type>::Meta) -> *mut T
[src]Create a *mut Self
with the provided Self::Meta
.
type Meta: 'static
type Meta: 'static
Type of metadata for type.
fn meta_type(self: *const Self) -> MetaType
[src]
fn meta_type(self: *const Self) -> MetaType
[src]Helper method describing whether a type is TraitObject
, Slice
or Concrete
.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> Debug for T where
T: Debug + Serialize + Deserialize + ?Sized,
[src]
T: Debug + Serialize + Deserialize + ?Sized,
impl<T> Deserialize for T where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> ProcessSend for T where
T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized,
[src]
T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,