Struct mimir::Object [] [src]

pub struct Object {
    pub inner: *mut ODPIObject,
}

This structure represents instances of the types created by the SQL command CREATE OR REPLACE TYPE

Fields

The ODPI-C Object pointer.

Methods

impl Object
[src]

Adds a reference to the object. This is intended for situations where a reference to the object needs to be maintained independently of the reference returned when the object was created.

Sets the value of the element found at the specified index.

Creates an independent copy of an object and returns a reference to the newly created object. This reference should be released as soon as it is no longer needed.

Deletes an element from the collection. Note that the position ordinals of the remaining elements are not changed. The delete operation creates holes in the collection.

Returns the value of one of the object's attributes.

Returns whether an element exists at the specified index.

Returns the value of the element found at the specified index.

Returns the first index used in a collection.

Returns the last index used in a collection.

Returns the next index used in a collection following the specified index.

Returns the previous index used in a collection preceding the specified index.

Returns the number of elements in a collection.

Releases a reference to the object. A count of the references to the object is maintained and when this count reaches zero, the memory associated with the object is freed.

Sets the value of one of the object’s attributes.

Sets the value of the element found at the specified index.

Trims a number of elements from the end of a collection.

Trait Implementations

impl Clone for Object
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Object
[src]

Formats the value using the given formatter.

impl From<*mut ODPIObject> for Object
[src]

Performs the conversion.