Struct pgx_pg_sys::ArrayBuildState
source · [−]#[repr(C)]pub struct ArrayBuildState {
pub mcontext: MemoryContext,
pub dvalues: *mut Datum,
pub dnulls: *mut bool,
pub alen: c_int,
pub nelems: c_int,
pub element_type: Oid,
pub typlen: int16,
pub typbyval: bool,
pub typalign: c_char,
pub private_cxt: bool,
}
Fields
mcontext: MemoryContext
dvalues: *mut Datum
dnulls: *mut bool
alen: c_int
nelems: c_int
element_type: Oid
typlen: int16
typbyval: bool
typalign: c_char
private_cxt: bool
Trait Implementations
sourceimpl Clone for ArrayBuildState
impl Clone for ArrayBuildState
sourcefn clone(&self) -> ArrayBuildState
fn clone(&self) -> ArrayBuildState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ArrayBuildState
impl Debug for ArrayBuildState
sourceimpl Default for ArrayBuildState
impl Default for ArrayBuildState
impl Copy for ArrayBuildState
Auto Trait Implementations
impl RefUnwindSafe for ArrayBuildState
impl !Send for ArrayBuildState
impl !Sync for ArrayBuildState
impl Unpin for ArrayBuildState
impl UnwindSafe for ArrayBuildState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more