#[repr(C)]pub struct PdParameters {
pub num_params: u64,
pub params: *mut c_void,
pub num_format_codes: u64,
pub format_codes: *mut c_void,
}Expand description
Wrapper around bound prepared statement parameters.
Fields§
§num_params: u64Number of parameters.
params: *mut c_voidPointer to a Vec of parameters.
num_format_codes: u64Number of parameter format codes.
format_codes: *mut c_voidPointer to a Vec of parameter format codes.
Trait Implementations§
Source§impl Clone for PdParameters
impl Clone for PdParameters
Source§fn clone(&self) -> PdParameters
fn clone(&self) -> PdParameters
Returns a duplicate 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 PdParameters
impl Debug for PdParameters
Source§impl Default for PdParameters
impl Default for PdParameters
Source§impl From<PdParameters> for Parameters
impl From<PdParameters> for Parameters
Source§fn from(value: PdParameters) -> Self
fn from(value: PdParameters) -> Self
Converts to this type from the input type.
impl Copy for PdParameters
Auto Trait Implementations§
impl Freeze for PdParameters
impl RefUnwindSafe for PdParameters
impl !Send for PdParameters
impl !Sync for PdParameters
impl Unpin for PdParameters
impl UnwindSafe for PdParameters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more