Struct mimir::ODPIObjectTypeInfo [−][src]
#[repr(C)]pub struct ODPIObjectTypeInfo { pub schema: *const c_char, pub schema_length: u32, pub name: *const c_char, pub name_length: u32, pub is_collection: c_int, pub element_type_info: ODPIDataTypeInfo, pub num_attributes: u16, }
This structure is used for passing information about an object type from ODPI-C. It is used by
the function ObjectType::getInfo()
.
Fields
schema: *const c_char
Specifies the schema which owns the object type, as a byte string in the encoding used for CHAR data.
schema_length: u32
Specifies the length of the schema
member, in bytes.
name: *const c_char
Specifies the name of the object type, as a byte string in the encoding used for CHAR data.
name_length: u32
Specifies the length of the name
member, in bytes.
is_collection: c_int
Specifies if the object type is a collection (1) or not (0).
element_type_info: ODPIDataTypeInfo
Specifies the Oracle type of the elements in the collection if the object type refers to a
collection. It will be one of the values from the enumeration ODPIOracleTypeNum
.
num_attributes: u16
Specifies the number of attributes that the object type has.
Trait Implementations
impl Clone for ODPIObjectTypeInfo
[src]
impl Clone for ODPIObjectTypeInfo
fn clone(&self) -> ODPIObjectTypeInfo
[src]
fn clone(&self) -> ODPIObjectTypeInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ODPIObjectTypeInfo
[src]
impl Copy for ODPIObjectTypeInfo
impl Debug for ODPIObjectTypeInfo
[src]
impl Debug for ODPIObjectTypeInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ODPIObjectTypeInfo
[src]
impl Default for ODPIObjectTypeInfo
Auto Trait Implementations
impl !Send for ODPIObjectTypeInfo
impl !Send for ODPIObjectTypeInfo
impl !Sync for ODPIObjectTypeInfo
impl !Sync for ODPIObjectTypeInfo