pub enum Intermediate {
Show 29 variants
Unit,
Bool(bool),
I8(i8),
I16(i16),
I32(i32),
I64(i64),
I128(i128),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
U128(u128),
F32(f32),
F64(f64),
Char(char),
String(String),
Bytes(Vec<u8>),
Option(Option<Box<Self>>),
UnitStruct,
UnitVariant(String),
NewTypeStruct(Box<Self>),
NewTypeVariant(String, Box<Self>),
Seq(Vec<Self>),
Tuple(Vec<Self>),
TupleStruct(Vec<Self>),
TupleVariant(String, Vec<Self>),
Map(Vec<(Self, Self)>),
Struct(Vec<(String, Self)>),
StructVariant(String, Vec<(String, Self)>),
}
Expand description
Serde intermediate data representation.
Example
use std::time::SystemTime;
use serde::{Serialize, Deserialize};
#[derive(Debug, PartialEq, Serialize, Deserialize)]
enum Login {
Email(String),
SocialMedia{
service: String,
token: String,
last_login: Option<SystemTime>,
}
}
#[derive(Debug, PartialEq, Serialize, Deserialize)]
struct Person {
// (first name, last name)
name: (String, String),
age: usize,
login: Login,
}
let data = Person {
name: ("John".to_owned(), "Smith".to_owned()),
age: 40,
login: Login::Email("john.smith@gmail.com".to_owned()),
};
let serialized = serde_intermediate::to_intermediate(&data).unwrap();
let deserialized = serde_intermediate::from_intermediate(&serialized).unwrap();
assert_eq!(data, deserialized);
Variants§
Unit
Unit value: ()
.
Bool(bool)
Bool value: true
.
I8(i8)
8-bit signed integer value: 42
.
I16(i16)
16-bit signed integer value: 42
.
I32(i32)
32-bit signed integer value: 42
.
I64(i64)
64-bit signed integer value: 42
.
I128(i128)
128-bit signed integer value: 42
.
U8(u8)
8-bit unsigned integer value: 42
.
U16(u16)
16-bit unsigned integer value: 42
.
U32(u32)
32-bit unsigned integer value: 42
.
U64(u64)
64-bit unsigned integer value: 42
.
U128(u128)
128-bit unsigned integer value: 42
.
F32(f32)
32-bit floating point value: 3.14
.
F64(f64)
64-bit floating point value: 3.14
.
Char(char)
Single character value: '@'
.
String(String)
String value: "Hello World!"
.
Bytes(Vec<u8>)
Bytes buffer.
Option(Option<Box<Self>>)
Option value: Some(42)
.
UnitStruct
Structure: struct Foo;
.
UnitVariant(String)
Enum unit variant: enum Foo { Bar }
.
NewTypeStruct(Box<Self>)
Newtype struct: struct Foo(bool);
.
NewTypeVariant(String, Box<Self>)
Enum newtype variant: enum Foo { Bar(bool) }
.
Seq(Vec<Self>)
Sequence/list: Vec<usize>
, [usize]
.
Tuple(Vec<Self>)
Tuple: (bool, char)
.
TupleStruct(Vec<Self>)
Tuple struct: struct Foo(bool, char)
.
TupleVariant(String, Vec<Self>)
Tuple variant: enum Foo { Bar(bool, char) }
.
Map(Vec<(Self, Self)>)
Tuple Fields
0: Vec<(Self, Self)>
Entries: (key, value)
.
Map: HashMap<String, usize>
.
Struct(Vec<(String, Self)>)
Struct: struct Foo { a: bool, b: char }
.
StructVariant(String, Vec<(String, Self)>)
Enum struct variant: enum Foo { Bar { a: bool, b: char } }
.
Implementations§
source§impl Intermediate
impl Intermediate
pub fn unit_struct() -> Self
pub fn unit_variant<T>(name: T) -> Selfwhere T: ToString,
pub fn newtype_struct(value: Self) -> Self
pub fn newtype_variant<T>(name: T, value: Self) -> Selfwhere T: ToString,
pub fn seq() -> Self
pub fn tuple() -> Self
pub fn tuple_struct() -> Self
pub fn tuple_variant<T>(name: T) -> Selfwhere T: ToString,
pub fn map() -> Self
pub fn struct_type() -> Self
pub fn struct_variant<T>(name: T) -> Selfwhere T: ToString,
pub fn item<T>(self, value: T) -> Selfwhere T: Into<Self>,
pub fn property<K, T>(self, key: K, value: T) -> Selfwhere K: Into<Self>, T: Into<Self>,
pub fn field<K, T>(self, key: K, value: T) -> Selfwhere K: ToString, T: Into<Self>,
pub fn total_bytesize(&self) -> usize
source§impl Intermediate
impl Intermediate
pub fn as_unit(&self) -> Option<()>
pub fn as_bool(&self) -> Option<bool>
pub fn as_i8(&self) -> Option<i8>
pub fn as_i16(&self) -> Option<i16>
pub fn as_i32(&self) -> Option<i32>
pub fn as_i64(&self) -> Option<i64>
pub fn as_i128(&self) -> Option<i128>
pub fn as_u8(&self) -> Option<u8>
pub fn as_u16(&self) -> Option<u16>
pub fn as_u32(&self) -> Option<u32>
pub fn as_u64(&self) -> Option<u64>
pub fn as_u128(&self) -> Option<u128>
pub fn as_f32(&self) -> Option<f32>
pub fn as_f64(&self) -> Option<f64>
pub fn as_char(&self) -> Option<char>
pub fn as_str(&self) -> Option<&str>
pub fn as_bytes(&self) -> Option<&[u8]>
pub fn as_seq(&self) -> Option<&[Self]>
pub fn as_tuple(&self) -> Option<&[Self]>
pub fn as_tuple_struct(&self) -> Option<&[Self]>
pub fn as_map(&self) -> Option<&[(Self, Self)]>
pub fn as_struct(&self) -> Option<&[(String, Self)]>
pub fn as_option(&self) -> Option<&Self>
pub fn as_unit_variant(&self) -> Option<&str>
pub fn as_new_type_struct(&self) -> Option<&Self>
pub fn as_new_type_variant(&self) -> Option<(&str, &Self)>
pub fn as_tuple_variant(&self) -> Option<(&str, &[Self])>
pub fn as_struct_variant(&self) -> Option<(&str, &[(String, Self)])>
Trait Implementations§
source§impl Clone for Intermediate
impl Clone for Intermediate
source§fn clone(&self) -> Intermediate
fn clone(&self) -> Intermediate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Intermediate
impl Debug for Intermediate
source§impl Default for Intermediate
impl Default for Intermediate
source§fn default() -> Intermediate
fn default() -> Intermediate
source§impl<'de> Deserialize<'de> for Intermediate
impl<'de> Deserialize<'de> for Intermediate
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
source§impl Display for Intermediate
impl Display for Intermediate
source§impl From<&str> for Intermediate
impl From<&str> for Intermediate
source§impl<const N: usize> From<[Intermediate; N]> for Intermediate
impl<const N: usize> From<[Intermediate; N]> for Intermediate
source§impl From<()> for Intermediate
impl From<()> for Intermediate
source§impl<A, B> From<(A, B)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
impl<A, B> From<(A, B)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>,
source§impl<A, B, C> From<(A, B, C)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
impl<A, B, C> From<(A, B, C)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>,
source§impl<A, B, C, D> From<(A, B, C, D)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
impl<A, B, C, D> From<(A, B, C, D)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>,
source§fn from(v: (A, B, C, D)) -> Self
fn from(v: (A, B, C, D)) -> Self
source§impl<A, B, C, D, E> From<(A, B, C, D, E)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
impl<A, B, C, D, E> From<(A, B, C, D, E)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E)) -> Self
fn from(v: (A, B, C, D, E)) -> Self
source§impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F)) -> Self
fn from(v: (A, B, C, D, E, F)) -> Self
source§impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G)) -> Self
fn from(v: (A, B, C, D, E, F, G)) -> Self
source§impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H)) -> Self
fn from(v: (A, B, C, D, E, F, G, H)) -> Self
source§impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J)) -> Self
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 Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
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 Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K)) -> Self
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 Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
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 Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M> From<(A, B, C, D, E, F, G, H, I, J, K, L, M)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> From<(A, B, C, D, E, F, G, H, I, J, K, L, M)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
R: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>, R: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
R: Into<Intermediate>,
S: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>, R: Into<Intermediate>, S: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
R: Into<Intermediate>,
S: Into<Intermediate>,
T: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>, R: Into<Intermediate>, S: Into<Intermediate>, T: Into<Intermediate>,
source§fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)) -> Self
fn from(v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
R: Into<Intermediate>,
S: Into<Intermediate>,
T: Into<Intermediate>,
U: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>, R: Into<Intermediate>, S: Into<Intermediate>, T: Into<Intermediate>, U: Into<Intermediate>,
source§fn from(
v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)
) -> Self
fn from( v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U) ) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
R: Into<Intermediate>,
S: Into<Intermediate>,
T: Into<Intermediate>,
U: Into<Intermediate>,
V: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>, R: Into<Intermediate>, S: Into<Intermediate>, T: Into<Intermediate>, U: Into<Intermediate>, V: Into<Intermediate>,
source§fn from(
v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)
) -> Self
fn from( v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V) ) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
R: Into<Intermediate>,
S: Into<Intermediate>,
T: Into<Intermediate>,
U: Into<Intermediate>,
V: Into<Intermediate>,
X: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>, R: Into<Intermediate>, S: Into<Intermediate>, T: Into<Intermediate>, U: Into<Intermediate>, V: Into<Intermediate>, X: Into<Intermediate>,
source§fn from(
v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X)
) -> Self
fn from( v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X) ) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
R: Into<Intermediate>,
S: Into<Intermediate>,
T: Into<Intermediate>,
U: Into<Intermediate>,
V: Into<Intermediate>,
X: Into<Intermediate>,
Y: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>, R: Into<Intermediate>, S: Into<Intermediate>, T: Into<Intermediate>, U: Into<Intermediate>, V: Into<Intermediate>, X: Into<Intermediate>, Y: Into<Intermediate>,
source§fn from(
v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y)
) -> Self
fn from( v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y) ) -> Self
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z)> for Intermediatewhere
A: Into<Intermediate>,
B: Into<Intermediate>,
C: Into<Intermediate>,
D: Into<Intermediate>,
E: Into<Intermediate>,
F: Into<Intermediate>,
G: Into<Intermediate>,
H: Into<Intermediate>,
I: Into<Intermediate>,
J: Into<Intermediate>,
K: Into<Intermediate>,
L: Into<Intermediate>,
M: Into<Intermediate>,
N: Into<Intermediate>,
O: Into<Intermediate>,
P: Into<Intermediate>,
Q: Into<Intermediate>,
R: Into<Intermediate>,
S: Into<Intermediate>,
T: Into<Intermediate>,
U: Into<Intermediate>,
V: Into<Intermediate>,
X: Into<Intermediate>,
Y: Into<Intermediate>,
Z: Into<Intermediate>,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z)> for Intermediatewhere A: Into<Intermediate>, B: Into<Intermediate>, C: Into<Intermediate>, D: Into<Intermediate>, E: Into<Intermediate>, F: Into<Intermediate>, G: Into<Intermediate>, H: Into<Intermediate>, I: Into<Intermediate>, J: Into<Intermediate>, K: Into<Intermediate>, L: Into<Intermediate>, M: Into<Intermediate>, N: Into<Intermediate>, O: Into<Intermediate>, P: Into<Intermediate>, Q: Into<Intermediate>, R: Into<Intermediate>, S: Into<Intermediate>, T: Into<Intermediate>, U: Into<Intermediate>, V: Into<Intermediate>, X: Into<Intermediate>, Y: Into<Intermediate>, Z: Into<Intermediate>,
source§fn from(
v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z)
) -> Self
fn from( v: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z) ) -> Self
source§impl From<(Intermediate,)> for Intermediate
impl From<(Intermediate,)> for Intermediate
source§impl From<HashMap<Intermediate, Intermediate, RandomState>> for Intermediate
impl From<HashMap<Intermediate, Intermediate, RandomState>> for Intermediate
source§impl From<HashMap<String, Intermediate, RandomState>> for Intermediate
impl From<HashMap<String, Intermediate, RandomState>> for Intermediate
source§impl From<HashSet<Intermediate, RandomState>> for Intermediate
impl From<HashSet<Intermediate, RandomState>> for Intermediate
source§impl From<Option<Intermediate>> for Intermediate
impl From<Option<Intermediate>> for Intermediate
source§impl From<Result<Intermediate, Intermediate>> for Intermediate
impl From<Result<Intermediate, Intermediate>> for Intermediate
source§impl From<String> for Intermediate
impl From<String> for Intermediate
source§impl From<Vec<Intermediate, Global>> for Intermediate
impl From<Vec<Intermediate, Global>> for Intermediate
source§impl From<bool> for Intermediate
impl From<bool> for Intermediate
source§impl From<char> for Intermediate
impl From<char> for Intermediate
source§impl From<f32> for Intermediate
impl From<f32> for Intermediate
source§impl From<f64> for Intermediate
impl From<f64> for Intermediate
source§impl From<i128> for Intermediate
impl From<i128> for Intermediate
source§impl From<i16> for Intermediate
impl From<i16> for Intermediate
source§impl From<i32> for Intermediate
impl From<i32> for Intermediate
source§impl From<i64> for Intermediate
impl From<i64> for Intermediate
source§impl From<i8> for Intermediate
impl From<i8> for Intermediate
source§impl From<isize> for Intermediate
impl From<isize> for Intermediate
source§impl From<u128> for Intermediate
impl From<u128> for Intermediate
source§impl From<u16> for Intermediate
impl From<u16> for Intermediate
source§impl From<u32> for Intermediate
impl From<u32> for Intermediate
source§impl From<u64> for Intermediate
impl From<u64> for Intermediate
source§impl From<u8> for Intermediate
impl From<u8> for Intermediate
source§impl From<usize> for Intermediate
impl From<usize> for Intermediate
source§impl PartialEq<Intermediate> for Intermediate
impl PartialEq<Intermediate> for Intermediate
source§fn eq(&self, other: &Intermediate) -> bool
fn eq(&self, other: &Intermediate) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Intermediate> for Intermediate
impl PartialOrd<Intermediate> for Intermediate
source§fn partial_cmp(&self, other: &Intermediate) -> Option<Ordering>
fn partial_cmp(&self, other: &Intermediate) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl ReflectIntermediate for Intermediate
impl ReflectIntermediate for Intermediate
fn patch_change(&mut self, change: &Change)
fn before_patch_change(&mut self)
fn after_patch_change(&mut self)
source§impl Serialize for Intermediate
impl Serialize for Intermediate
impl Eq for Intermediate
impl StructuralPartialEq for Intermediate
Auto Trait Implementations§
impl RefUnwindSafe for Intermediate
impl Send for Intermediate
impl Sync for Intermediate
impl Unpin for Intermediate
impl UnwindSafe for Intermediate
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.