Struct mimir::ObjectType [−][src]
pub struct ObjectType { /* fields omitted */ }
Object type handles are used to represent types such as those created by the SQL command CREATE OR REPLACE TYPE.
Methods
impl ObjectType
[src]
impl ObjectType
pub fn create(&self) -> Result<Object>
[src]
pub fn create(&self) -> Result<Object>
Creates an object of the specified type and returns a reference to it. This reference should be released as soon as it is no longer needed.
pub fn get_attributes(&self, length: u16) -> Result<Vec<*mut ODPIObjectAttr>>
[src]
pub fn get_attributes(&self, length: u16) -> Result<Vec<*mut ODPIObjectAttr>>
Returns the list of attributes that belong to the object type.
pub fn get_info(&self) -> Result<ODPIObjectTypeInfo>
[src]
pub fn get_info(&self) -> Result<ODPIObjectTypeInfo>
Returns information about the object type.
pub fn release(&self) -> Result<()>
[src]
pub fn release(&self) -> Result<()>
Releases a reference to the object type. A count of the references to the object type is maintained and when this count reaches zero, the memory associated with the object type is freed.
Trait Implementations
impl Debug for ObjectType
[src]
impl Debug for ObjectType
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 From<*mut ODPIObjectType> for ObjectType
[src]
impl From<*mut ODPIObjectType> for ObjectType
Auto Trait Implementations
impl !Send for ObjectType
impl !Send for ObjectType
impl !Sync for ObjectType
impl !Sync for ObjectType