[][src]Enum dbui_core::field_type::FieldType

pub enum FieldType {
    Unit,
    String,
    EncryptedString,
    Boolean,
    Char,
    I16,
    I32,
    U32,
    I64,
    F32,
    F64,
    Numeric,
    Date,
    Time,
    TimeZoned,
    Timestamp,
    TimestampZoned,
    Interval,
    Uuid,
    Json,
    Xml,
    StringMap,
    ByteArray,
    BitArray,
    Cidr,
    InetAddr,
    MacAddr,
    Box,
    Circle,
    Path,
    Point,
    Polygon,
    TsQuery,
    TsVector,
    List {
        t: Box<FieldType>,
    },
    Set {
        t: Box<FieldType>,
    },
    Map {
        k: Box<FieldType>,
        v: Box<FieldType>,
    },
    Range {
        t: Box<FieldType>,
    },
    Domain {
        t: Box<FieldType>,
    },
    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>,
    },
    Unknown {
        t: String,
    },
}

Represents the data types used by ResultSet

Variants

Unit
String
EncryptedString
Boolean
Char
I16
I32
U32
I64
F32
F64
Numeric
Date
Time
TimeZoned
Timestamp
TimestampZoned
Interval
Uuid
Json
Xml
StringMap
ByteArray
BitArray
Cidr
InetAddr
MacAddr
Box
Circle
Path
Point
Polygon
TsQuery
TsVector
List

Fields of List

t: Box<FieldType>
Set

Fields of Set

t: Box<FieldType>
Map

Fields of Map

k: Box<FieldType>v: Box<FieldType>
Range

Fields of Range

t: Box<FieldType>
Domain

Fields of Domain

t: Box<FieldType>
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>
Unknown

Fields of Unknown

t: String

Trait Implementations

impl PartialEq<FieldType> for FieldType[src]

impl Debug for FieldType[src]

impl StructuralPartialEq for FieldType[src]

impl Serialize for FieldType[src]

impl<'de> Deserialize<'de> for FieldType[src]

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]