[][src]Enum amadeus_types::Schema

pub enum Schema {
    Bool,
    U8,
    I8,
    U16,
    I16,
    U32,
    I32,
    U64,
    I64,
    F32,
    F64,
    Date,
    Time,
    Timestamp,
    Decimal,
    ByteArray,
    Bson,
    String,
    Json,
    Enum,
    List(Box<Schema>),
    Map(Box<(Schema, Schema)>),
    Group(Vec<Schema>, Option<Arc<LinkedHashMap<String, usize, FxBuildHasher>>>),
    Option(Box<Schema>),
}

Variants

BoolU8I8U16I16U32I32U64I64F32F64DateTimeTimestampDecimalByteArrayBsonStringJsonEnumList(Box<Schema>)Map(Box<(Schema, Schema)>)Group(Vec<Schema>, Option<Arc<LinkedHashMap<String, usize, FxBuildHasher>>>)Option(Box<Schema>)

Trait Implementations

impl Clone for Schema[src]

impl PartialEq<Schema> for Schema[src]

impl Debug for Schema[src]

Auto Trait Implementations

impl Unpin for Schema

impl Sync for Schema

impl Send for Schema

impl UnwindSafe for Schema

impl RefUnwindSafe for Schema

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]