pub struct XSqlVar {
    pub sqltype: i16,
    pub scale: i16,
    pub sqlsubtype: i16,
    pub data_length: i16,
    pub null_ind: bool,
    pub field_name: String,
    pub relation_name: String,
    pub owner_name: String,
    pub alias_name: String,
}
Expand description

Sql query column information

Fields§

§sqltype: i16

Sql type code

§scale: i16

Scale: indicates that the real value is data * 10.pow(scale)

§sqlsubtype: i16

Blob subtype code

§data_length: i16

Length of the column data

§null_ind: bool

Null indicator

§field_name: String§relation_name: String§owner_name: String§alias_name: String

Column alias

Implementations§

Coerces the data types of this XSqlVar as necessary

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.