Struct mimir::TypeInfo [−][src]
pub struct TypeInfo { /* fields omitted */ }
Wrapper for ODPIDataTypeInfo
struct.
Methods
impl TypeInfo
[src]
impl TypeInfo
pub fn new(inner: ODPIDataTypeInfo) -> Self
[src]
pub fn new(inner: ODPIDataTypeInfo) -> Self
Create a new TypeInfo
struct.
pub fn oracle_type_num(&self) -> ODPIOracleTypeNum
[src]
pub fn oracle_type_num(&self) -> ODPIOracleTypeNum
Get the oracle_type_num
value.
Specifies the type of the column that is being queried. It will be one of the values from
the enumeration ODPIOracleTypeNum
.
pub fn default_native_type_num(&self) -> ODPINativeTypeNum
[src]
pub fn default_native_type_num(&self) -> ODPINativeTypeNum
Get the default_native_type_num
value.
Specifies the default native type for the column that is being queried. It will be one of
the values from the enumeration ODPINativeTypeNum
.
pub fn db_size_in_bytes(&self) -> u32
[src]
pub fn db_size_in_bytes(&self) -> u32
Get the db_size_in_bytes
value.
Specifies the size in bytes (from the database's perspective) of the column that is being queried. This value is only populated for strings and binary columns. For all other columns the value is zero.
pub fn client_size_in_bytes(&self) -> u32
[src]
pub fn client_size_in_bytes(&self) -> u32
Get the client_size_in_bytes
value.
Specifies the size in bytes (from the client's perspective) of the column that is being queried. This value is only populated for strings and binary columns. For all other columns the value is zero.
pub fn size_in_chars(&self) -> u32
[src]
pub fn size_in_chars(&self) -> u32
Get the size_in_chars
value.
Specifies the size in characters of the column that is being queried. This value is only populated for string columns. For all other columns the value is zero.
pub fn precision(&self) -> i16
[src]
pub fn precision(&self) -> i16
Get the precision
value.
Specifies the precision of the column that is being queried. This value is only populated for numeric and timestamp columns. For all other columns the value is zero.
pub fn scale(&self) -> i8
[src]
pub fn scale(&self) -> i8
Get the scale
value.
Specifies the scale of the column that is being queried. This value is only populated for numeric columns. For all other columns the value is zero.
pub fn object_type(&self) -> Option<ObjectType>
[src]
pub fn object_type(&self) -> Option<ObjectType>
Get the object_type
value.
Specifies a reference to the type of the object that is being queried. This value is only populated for named type columns. For all other columns the value is None.
Trait Implementations
impl Clone for TypeInfo
[src]
impl Clone for TypeInfo
fn clone(&self) -> TypeInfo
[src]
fn clone(&self) -> TypeInfo
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 Debug for TypeInfo
[src]
impl Debug for TypeInfo
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 TypeInfo
[src]
impl Default for TypeInfo