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