Struct libduckdb_sys::duckdb_blob
source · #[repr(C)]pub struct duckdb_blob {
pub data: *mut c_void,
pub size: idx_t,
}
Expand description
! BLOBs are composed of a byte pointer and a size. You must free blob.data
! with duckdb_free
.
Fields§
§data: *mut c_void
§size: idx_t
Trait Implementations§
source§impl Clone for duckdb_blob
impl Clone for duckdb_blob
source§fn clone(&self) -> duckdb_blob
fn clone(&self) -> duckdb_blob
Returns a copy 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 duckdb_blob
impl Debug for duckdb_blob
impl Copy for duckdb_blob
Auto Trait Implementations§
impl Freeze for duckdb_blob
impl RefUnwindSafe for duckdb_blob
impl !Send for duckdb_blob
impl !Sync for duckdb_blob
impl Unpin for duckdb_blob
impl UnwindSafe for duckdb_blob
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