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]

Is the data null?

Get the value as a Vector of byes when the native type is DPI_NATIVE_TYPE_BYTES.

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.

Convert Data to a String given the Oracle Data Type.

Get the data length (after conversion to a String)

Trait Implementations

impl Debug for Data
[src]

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

Auto Trait Implementations

impl !Send for Data

impl !Sync for Data