Struct mimir::ODPIBytes [] [src]

#[repr(C)]
pub struct ODPIBytes { pub ptr: *mut c_char, pub length: u32, pub encoding: *const c_char, }

This structure is used for passing byte strings to and from the database in the structure dpiData.

Fields

Specifies the pointer to the memory allocated by ODPI-C for the variable. For strings, data written to this memory should be in the encoding appropriate to the type of data being transferred. When data is transferred from the database it will be in the correct encoding already.

Specifies the length of the byte string, in bytes.

Specifies the encoding for character data. This value is populated when data is transferred from the database. It is ignored when data is being transferred to the database.

Trait Implementations

impl Clone for ODPIBytes
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ODPIBytes
[src]

impl Debug for ODPIBytes
[src]

[src]

Formats the value using the given formatter. Read more

impl From<ODPIBytes> for String
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for ODPIBytes

impl !Sync for ODPIBytes