[][src]Enum feattle::SerializedFormatKind

pub enum SerializedFormatKind {
    Bool,
    Integer,
    Float,
    String(StringFormatKind),
    List(Box<SerializedFormatKind>),
    Set(Box<SerializedFormatKind>),
    Map(StringFormatKindBox<SerializedFormatKind>),
    Optional(Box<SerializedFormatKind>),
}

An exact and machine-readable description of a feattle type.

This type can be used to create a nice human interface, like a HTML form, to edit the value of a feattle, for example. It can also be used to validate user input.

Variants

Bool
Integer
Float

An ordered list of homogenous types

An unordered bag of homogenous types

An unordered bag of homogenous keys and values

Trait Implementations

impl Clone for SerializedFormatKind[src]

impl Debug for SerializedFormatKind[src]

impl Eq for SerializedFormatKind[src]

impl PartialEq<SerializedFormatKind> for SerializedFormatKind[src]

impl Serialize for SerializedFormatKind[src]

impl StructuralEq for SerializedFormatKind[src]

impl StructuralPartialEq for SerializedFormatKind[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.