pub enum FieldType {
Show 15 variants
Any,
Unsigned,
String,
Number,
Double,
Integer,
Boolean,
Varbinary,
Scalar,
Decimal,
Uuid,
Datetime,
Interval,
Array,
Map,
}
Expand description
Type of a field in the space format definition.
Variants§
Any
Unsigned
String
Number
Double
Integer
Boolean
Varbinary
Scalar
Decimal
Uuid
Datetime
Interval
Array
Map
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for FieldType
impl<'de> Deserialize<'de> for FieldType
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<L: AsLua> LuaRead<L> for FieldType
impl<L: AsLua> LuaRead<L> for FieldType
source§fn lua_read_at_position(lua: L, index: NonZeroI32) -> Result<Self, L>
fn lua_read_at_position(lua: L, index: NonZeroI32) -> Result<Self, L>
Reads the data from Lua at a given position.
fn n_values_expected() -> i32
fn lua_read_at_maybe_zero_position(lua: L, index: i32) -> Result<Self, L>
source§impl Ord for FieldType
impl Ord for FieldType
source§impl PartialOrd<FieldType> for FieldType
impl PartialOrd<FieldType> for FieldType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<L: AsLua> Push<L> for FieldType
impl<L: AsLua> Push<L> for FieldType
source§fn push_to_lua(&self, lua: L) -> PushResult<L, Self>
fn push_to_lua(&self, lua: L) -> PushResult<L, Self>
Pushes the value on the top of the stack. Read more
source§impl<L: AsLua> PushInto<L> for FieldType
impl<L: AsLua> PushInto<L> for FieldType
type Err = Void
source§fn push_into_lua(self, lua: L) -> PushIntoResult<L, Self>
fn push_into_lua(self, lua: L) -> PushIntoResult<L, Self>
Push the value into lua by value