Value

Enum Value 

Source
pub enum Value {
Show 30 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(HashMap<Value, Value>)

Map of key-value pairs.

§

Group(Group)

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

§

Option(Option<ValueRequired>)

Optional element.

Implementations§

Source§

impl Value

Source

pub fn is_bool(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_u8(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_i8(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_u16(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_i16(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_u32(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_i32(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_u64(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_i64(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_f32(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_f64(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_date(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_date_without_timezone(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_time(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_time_without_timezone(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_date_time(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_date_time_without_timezone(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_timezone(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_decimal(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_bson(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_string(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_json(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_enum(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_url(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_webpage(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_ip_addr(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_list(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_map(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_group(&self) -> bool

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

Source

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

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

Source

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

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

Source

pub fn is_option(&self) -> bool

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

Source

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

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

Trait Implementations§

Source§

impl AmadeusOrd for Value

Source§

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

Source§

impl Clone for Value

Source§

fn clone(&self) -> Value

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Data for Value

Source§

type Vec = ValueVec

Source§

type DynamicType = ValueType

Source§

fn new_vec(type_: Self::DynamicType) -> Self::Vec

Source§

impl Debug for Value

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Value

Source§

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

Deserialize this value from the given Serde deserializer. Read more
Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl DowncastFrom<Value> for ()

Source§

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

Source§

impl<A, B> DowncastFrom<Value> for (A, B)

Source§

impl<A, B, C> DowncastFrom<Value> for (A, B, C)

Source§

impl<A, B, C, D> DowncastFrom<Value> for (A, B, C, D)

Source§

impl<A, B, C, D, E> DowncastFrom<Value> for (A, B, C, D, E)

Source§

impl<A, B, C, D, E, F> DowncastFrom<Value> for (A, B, C, D, E, F)

Source§

impl<A, B, C, D, E, F, G> DowncastFrom<Value> for (A, B, C, D, E, F, G)

Source§

impl<A, B, C, D, E, F, G, H> DowncastFrom<Value> for (A, B, C, D, E, F, G, H)

Source§

impl<A, B, C, D, E, F, G, H, I> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I)

Source§

impl<A, B, C, D, E, F, G, H, I, J> DowncastFrom<Value> for (A, B, C, D, E, F, G, H, I, J)

Source§

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)

Source§

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)

Source§

impl DowncastFrom<Value> for Bson

Source§

impl DowncastFrom<Value> for Date

Source§

impl DowncastFrom<Value> for DateTime

Source§

impl DowncastFrom<Value> for DateTimeWithoutTimezone

Source§

impl DowncastFrom<Value> for DateWithoutTimezone

Source§

impl DowncastFrom<Value> for Decimal

Source§

impl DowncastFrom<Value> for Enum

Source§

impl DowncastFrom<Value> for Group

Source§

impl<K, V, S> DowncastFrom<Value> for HashMap<K, V, S>

Source§

impl DowncastFrom<Value> for IpAddr

Source§

impl DowncastFrom<Value> for Json

Source§

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

Source§

impl<T> DowncastFrom<Value> for Option<T>
where T: DowncastFrom<Value>,

Source§

impl DowncastFrom<Value> for String

Source§

impl DowncastFrom<Value> for Time

Source§

impl DowncastFrom<Value> for TimeWithoutTimezone

Source§

impl DowncastFrom<Value> for Timezone

Source§

impl DowncastFrom<Value> for Url

Source§

impl DowncastFrom<Value> for Value

Source§

impl DowncastFrom<Value> for Webpage<'static>

Source§

impl DowncastFrom<Value> for bool

Source§

impl DowncastFrom<Value> for f32

Source§

impl DowncastFrom<Value> for f64

Source§

impl DowncastFrom<Value> for i16

Source§

impl DowncastFrom<Value> for i32

Source§

impl DowncastFrom<Value> for i64

Source§

impl DowncastFrom<Value> for i8

Source§

impl DowncastFrom<Value> for u16

Source§

impl DowncastFrom<Value> for u32

Source§

impl DowncastFrom<Value> for u64

Source§

impl DowncastFrom<Value> for u8

Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

impl From<()> for Value

Source§

fn from(value: ()) -> Self

Converts to this type from the input type.
Source§

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

Source§

fn from(value: (A,)) -> Self

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

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>,

Source§

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

Converts to this type from the input type.
Source§

impl<T> From<Box<T>> for Value
where T: Into<Self>,

Source§

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

Converts to this type from the input type.
Source§

impl From<Bson> for Value

Source§

fn from(value: Bson) -> Self

Converts to this type from the input type.
Source§

impl From<Date> for Value

Source§

fn from(value: Date) -> Self

Converts to this type from the input type.
Source§

impl From<DateTime> for Value

Source§

fn from(value: DateTime) -> Self

Converts to this type from the input type.
Source§

impl From<DateTimeWithoutTimezone> for Value

Source§

fn from(value: DateTimeWithoutTimezone) -> Self

Converts to this type from the input type.
Source§

impl From<DateWithoutTimezone> for Value

Source§

fn from(value: DateWithoutTimezone) -> Self

Converts to this type from the input type.
Source§

impl From<Decimal> for Value

Source§

fn from(value: Decimal) -> Self

Converts to this type from the input type.
Source§

impl From<Enum> for Value

Source§

fn from(value: Enum) -> Self

Converts to this type from the input type.
Source§

impl From<Group> for Value

Source§

fn from(value: Group) -> Self

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

impl From<IpAddr> for Value

Source§

fn from(value: IpAddr) -> Self

Converts to this type from the input type.
Source§

impl From<Json> for Value

Source§

fn from(value: Json) -> Self

Converts to this type from the input type.
Source§

impl<T> From<List<T>> for Value
where T: Into<Self> + Data,

Source§

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

Converts to this type from the input type.
Source§

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

Source§

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

Converts to this type from the input type.
Source§

impl From<String> for Value

Source§

fn from(value: String) -> Self

Converts to this type from the input type.
Source§

impl From<Time> for Value

Source§

fn from(value: Time) -> Self

Converts to this type from the input type.
Source§

impl From<TimeWithoutTimezone> for Value

Source§

fn from(value: TimeWithoutTimezone) -> Self

Converts to this type from the input type.
Source§

impl From<Timezone> for Value

Source§

fn from(value: Timezone) -> Self

Converts to this type from the input type.
Source§

impl From<Url> for Value

Source§

fn from(value: Url) -> Self

Converts to this type from the input type.
Source§

impl From<Value> for Option<ValueRequired>

Source§

fn from(value: Value) -> Self

Converts to this type from the input type.
Source§

impl From<ValueRequired> for Value

Source§

fn from(value: ValueRequired) -> Self

Converts to this type from the input type.
Source§

impl From<Webpage<'static>> for Value

Source§

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

Converts to this type from the input type.
Source§

impl From<bool> for Value

Source§

fn from(value: bool) -> Self

Converts to this type from the input type.
Source§

impl From<f32> for Value

Source§

fn from(value: f32) -> Self

Converts to this type from the input type.
Source§

impl From<f64> for Value

Source§

fn from(value: f64) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for Value

Source§

fn from(value: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for Value

Source§

fn from(value: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for Value

Source§

fn from(value: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for Value

Source§

fn from(value: i8) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for Value

Source§

fn from(value: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Value

Source§

fn from(value: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for Value

Source§

fn from(value: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for Value

Source§

fn from(value: u8) -> Self

Converts to this type from the input type.
Source§

impl Hash for Value

Source§

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

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

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

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

impl PartialEq<()> for Value
where Value:,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T> PartialEq<Box<T>> for Value
where Value: PartialEq<T>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Bson> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Date> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<DateTime> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<DateTimeWithoutTimezone> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<DateWithoutTimezone> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Decimal> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Enum> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Group> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<IpAddr> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Json> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

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

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T> PartialEq<Option<T>> for Value
where Value: PartialEq<T>,

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<String> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Time> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<TimeWithoutTimezone> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Timezone> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<Url> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a> PartialEq<Webpage<'a>> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<bool> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<f32> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<f64> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<i16> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<i32> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<i64> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<i8> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<u16> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<u32> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<u64> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq<u8> for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialEq for Value

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Value

Source§

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

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

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for Value

Source§

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

Serialize this value into the given Serde serializer. Read more
Source§

impl Eq for Value

Source§

impl StructuralPartialEq for Value

Auto Trait Implementations§

§

impl Freeze for Value

§

impl RefUnwindSafe for Value

§

impl Send for Value

§

impl Sync for Value

§

impl Unpin for Value

§

impl UnwindSafe for Value

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<A, B> Downcast<A> for B
where A: DowncastFrom<B>,

Source§

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

Source§

fn equivalent(&self, key: &K) -> bool

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

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

fn vzip(self) -> V

Source§

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

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

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