pub struct StmtPrepareOk {
pub statement_id: u32,
pub num_columns: u16,
pub num_params: u16,
pub warnings: u16,
}Expand description
Response from COM_STMT_PREPARE.
This is sent by the server after successfully preparing a statement.
Fields§
§statement_id: u32Unique statement identifier (used in execute/close)
num_columns: u16Number of columns in result set (0 for non-SELECT)
num_params: u16Number of parameters (placeholders) in the SQL
warnings: u16Number of warnings generated during prepare
Trait Implementations§
Source§impl Clone for StmtPrepareOk
impl Clone for StmtPrepareOk
Source§fn clone(&self) -> StmtPrepareOk
fn clone(&self) -> StmtPrepareOk
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 moreAuto Trait Implementations§
impl Freeze for StmtPrepareOk
impl RefUnwindSafe for StmtPrepareOk
impl Send for StmtPrepareOk
impl Sync for StmtPrepareOk
impl Unpin for StmtPrepareOk
impl UnwindSafe for StmtPrepareOk
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).