Struct mimir::ObjectAttr
[−]
[src]
pub struct ObjectAttr { /* fields omitted */ }
Object type handles are used to represent types such as those created by the SQL command CREATE OR REPLACE TYPE.
Methods
impl ObjectAttr
[src]
fn add_ref(&self) -> Result<()>
Adds a reference to the attribute. This is intended for situations where a reference to the attribute needs to be maintained independently of the reference returned when the attribute was created.
fn get_info(&self) -> Result<ODPIObjectAttrInfo>
Returns information about the attribute.
fn release(&self) -> Result<()>
Releases a reference to the attribute. A count of the references to the attribute is maintained and when this count reaches zero, the memory associated with the attribute is freed.
Trait Implementations
impl Clone for ObjectAttr
[src]
fn clone(&self) -> ObjectAttr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ObjectAttr
[src]
impl From<*mut ODPIObjectAttr> for ObjectAttr
[src]
fn from(oot: *mut ODPIObjectAttr) -> ObjectAttr
Performs the conversion.