pub struct ParameterDescription {
pub nullability: Nullability,
pub data_type: DataType,
}
Expand description
Description of a parameter associated with a parameter marker in a prepared statement. Returned
by crate::Prepared::describe_param
.
Fields§
§nullability: Nullability
Indicates whether the parameter may be NULL not.
data_type: DataType
The SQL Type associated with that parameter.
Trait Implementations§
Source§impl Clone for ParameterDescription
impl Clone for ParameterDescription
Source§fn clone(&self) -> ParameterDescription
fn clone(&self) -> ParameterDescription
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 ParameterDescription
impl Debug for ParameterDescription
Source§impl PartialEq for ParameterDescription
impl PartialEq for ParameterDescription
impl Copy for ParameterDescription
impl Eq for ParameterDescription
impl StructuralPartialEq for ParameterDescription
Auto Trait Implementations§
impl Freeze for ParameterDescription
impl RefUnwindSafe for ParameterDescription
impl Send for ParameterDescription
impl Sync for ParameterDescription
impl Unpin for ParameterDescription
impl UnwindSafe for ParameterDescription
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)