Struct libduckdb_sys::duckdb_string_t
source · #[repr(C)]pub struct duckdb_string_t {
pub value: duckdb_string_t__bindgen_ty_1,
}
Expand description
! The internal representation of a VARCHAR (string_t). If the VARCHAR does not ! exceed 12 characters, then we inline it. Otherwise, we inline a prefix for faster ! string comparisons and store a pointer to the remaining characters. This is a non- ! owning structure, i.e., it does not have to be freed.
Fields§
§value: duckdb_string_t__bindgen_ty_1
Trait Implementations§
source§impl Clone for duckdb_string_t
impl Clone for duckdb_string_t
source§fn clone(&self) -> duckdb_string_t
fn clone(&self) -> duckdb_string_t
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 moreimpl Copy for duckdb_string_t
Auto Trait Implementations§
impl Freeze for duckdb_string_t
impl RefUnwindSafe for duckdb_string_t
impl !Send for duckdb_string_t
impl !Sync for duckdb_string_t
impl Unpin for duckdb_string_t
impl UnwindSafe for duckdb_string_t
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