Function cassandra_cpp_sys::cass_data_type_sub_data_type
source · pub unsafe extern "C" fn cass_data_type_sub_data_type(
data_type: *const CassDataType,
index: usize
) -> *const CassDataType
Expand description
Gets the sub-data type of a UDT (user defined type), tuple or collection at the specified index.
Note: Only valid for UDT, tuple and collection data types.
@param[in] data_type @param[in] index @return Returns a reference to a child data type. Do not free this reference as it is bound to the lifetime of the parent data type. NULL is returned if the index is out of range.