Type Alias assembly_fdb::value::mem::Field

source ·
pub type Field<'a> = Value<MemContext<'a>>;
Expand description

Value of or reference to a field value

Aliased Type§

enum Field<'a> {
    Nothing,
    Integer(i32),
    Float(f32),
    Text(&'a Latin1Str),
    Boolean(bool),
    BigInt(i64),
    VarChar(&'a Latin1Str),
}

Variants§

§

Nothing

The NULL value

§

Integer(i32)

A 32 bit integer

§

Float(f32)

A 32 bit IEEE floating point number

§

Text(&'a Latin1Str)

A string

§

Boolean(bool)

A boolean

§

BigInt(i64)

A 64 bit integer

§

VarChar(&'a Latin1Str)

A (XML?) string

Trait Implementations§

source§

impl<'a> TryFromHandle<'a, Value<FileContext>> for Field<'a>

§

type Error = Infallible

Error type
source§

fn try_from(value: Handle<'a, FDBFieldValue>) -> Result<Self, Self::Error>

Conversion function