[][src]Enum libdbui::models::field_type::FieldType

pub enum FieldType {
    Unit,
    String,
    EncryptedString,
    Nothing,
    Any,
    Boolean,
    Byte,
    Short,
    Integer,
    Long,
    Float,
    Double,
    BigDecimal,
    ByteArray,
    Uuid,
    Date,
    Time,
    Timestamp,
    TimestampZoned,
    List,
    Set,
    Map,
    Ref,
    Json,
    Xml,
    Enum {
        key: String,
    },
    Struct {
        key: String,
    },
    Object {
        key: String,
        fields: Vec<String>,
    },
    Intersection {
        key: String,
        types: Vec<FieldType>,
    },
    Union {
        key: String,
        types: Vec<FieldType>,
    },
    Method {
        params: Vec<String>,
        ret: Box<FieldType>,
    },
}

Variants

Unit
String
EncryptedString
Nothing
Any
Boolean
Byte
Short
Integer
Long
Float
Double
BigDecimal
ByteArray
Uuid
Date
Time
Timestamp
TimestampZoned
List
Set
Map
Ref
Json
Xml
Enum

Fields of Enum

key: String
Struct

Fields of Struct

key: String
Object

Fields of Object

key: Stringfields: Vec<String>
Intersection

Fields of Intersection

key: Stringtypes: Vec<FieldType>
Union

Fields of Union

key: Stringtypes: Vec<FieldType>
Method

Fields of Method

params: Vec<String>ret: Box<FieldType>

Trait Implementations

impl FromStr for FieldType[src]

type Err = ()

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

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]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T

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