schema_org_types/
fallible.rs

1//! This module includes code used in fallible deserialization.
2
3use std::collections::HashMap;
4
5/// This enumerations represents an arbitrary failed deserialization.
6#[derive(Debug, Clone)]
7#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
8#[cfg_attr(feature = "serde", serde(untagged))]
9pub enum FailValue {
10	Bool(bool),
11	U64(u64),
12	U128(u128),
13	I64(i64),
14	I128(i128),
15	F64(f64),
16	String(String),
17	Map(HashMap<String, FailValue>),
18}