Struct mimir::Data [] [src]

pub struct Data { /* fields omitted */ }

This structure is used for passing data to and from the database for variables and for manipulating object attributes and collection values.

Methods

impl Data
[src]

Get the value as a boolean when the native type is DPI_NATIVE_TYPE_BOOLEAN.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_BOOLEAN.

Get the value as a f64 when the native type is DPI_NATIVE_TYPE_DOUBLE.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_DOUBLE.

Get the value as a Duration when the native type is DPI_NATIVE_TYPE_INTERVAL_DS.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_INTERVAL_DS.

Get the value as a f32 when the native type is DPI_NATIVE_TYPE_FLOAT.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_FLOAT.

Get the value as an i64 when the native type is DPI_NATIVE_TYPE_INT64.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_INT64.

Returns the value of the data when the native type is DPI_NATIVE_TYPE_LOB.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_LOB.

Returns the value of the data when the native type is DPI_NATIVE_TYPE_OBJECT.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_OBJECT.

Returns the value of the data when the native type is DPI_NATIVE_TYPE_STMT.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_STMT.

Get the value as a String when the native type is DPI_NATIVE_TYPE_BYTES.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_BYTES.

Get the value as a u64 when the native type is DPI_NATIVE_TYPE_UINT64.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_UINT64.

Get the value as a Utc when the native type is DPI_NATIVE_TYPE_TIMESTAMP.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_TIMESTAMP.

Get the value as a YearsMonths when the native type is DPI_NATIVE_TYPE_INTERVAL_YM.

Sets the value of the data when the native type is DPI_NATIVE_TYPE_INTERVAL_YM.

Trait Implementations

impl Debug for Data
[src]

Formats the value using the given formatter.

impl From<*mut ODPIData> for Data
[src]

Performs the conversion.