#[repr(C)]pub struct dpiJsonArray {
pub numElements: u32,
pub elements: *mut dpiJsonNode,
pub elementValues: *mut dpiDataBuffer,
}Expand description
This structure is used for passing JSON objects to and from the database.
Fields§
§numElements: u32Specifies the number of elements that are found in the JSON array. This also identifies the number of elements in each of the remaining arrays.
elements: *mut dpiJsonNodeSpecifies an array of JSON nodes that are the values of the elements found
in the JSON array. Each of these is a structure of type
dpiJsonNode.
elementValues: *mut dpiDataBufferSpecifies an array of buffers that contain the data for the values of the
elements found in the JSON array. This member should not be used directly.
Instead, the [dpiJsonNode.value] member of the corresponding node
in the member [dpiJsonArray.elements] should be used.
Trait Implementations§
Source§impl Clone for dpiJsonArray
impl Clone for dpiJsonArray
Source§fn clone(&self) -> dpiJsonArray
fn clone(&self) -> dpiJsonArray
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for dpiJsonArray
impl Debug for dpiJsonArray
Source§impl Default for dpiJsonArray
impl Default for dpiJsonArray
impl Copy for dpiJsonArray
Auto Trait Implementations§
impl Freeze for dpiJsonArray
impl RefUnwindSafe for dpiJsonArray
impl !Send for dpiJsonArray
impl !Sync for dpiJsonArray
impl Unpin for dpiJsonArray
impl UnwindSafe for dpiJsonArray
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more