Struct pgx_pg_sys::relopt_string
source · [−]#[repr(C)]pub struct relopt_string {
pub gen: relopt_gen,
pub default_len: c_int,
pub default_isnull: bool,
pub validate_cb: validate_string_relopt,
pub fill_cb: fill_string_relopt,
pub default_val: *mut c_char,
}
Fields
gen: relopt_gen
default_len: c_int
default_isnull: bool
validate_cb: validate_string_relopt
fill_cb: fill_string_relopt
default_val: *mut c_char
Trait Implementations
sourceimpl Clone for relopt_string
impl Clone for relopt_string
sourcefn clone(&self) -> relopt_string
fn clone(&self) -> relopt_string
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 relopt_string
impl Debug for relopt_string
sourceimpl Default for relopt_string
impl Default for relopt_string
impl Copy for relopt_string
Auto Trait Implementations
impl RefUnwindSafe for relopt_string
impl !Send for relopt_string
impl !Sync for relopt_string
impl Unpin for relopt_string
impl UnwindSafe for relopt_string
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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