#[repr(C)]
pub struct st_mysql_stmt {Show 27 fields
pub mem_root: MEM_ROOT,
pub list: LIST,
pub mysql: *mut MYSQL,
pub params: *mut MYSQL_BIND,
pub bind: *mut MYSQL_BIND,
pub fields: *mut MYSQL_FIELD,
pub result: MYSQL_DATA,
pub data_cursor: *mut MYSQL_ROWS,
pub read_row_func: Option<unsafe extern "C" fn(stmt: *mut st_mysql_stmt, row: *mut *mut c_uchar) -> c_int>,
pub affected_rows: my_ulonglong,
pub insert_id: my_ulonglong,
pub stmt_id: c_ulong,
pub flags: c_ulong,
pub prefetch_rows: c_ulong,
pub server_status: c_uint,
pub last_errno: c_uint,
pub param_count: c_uint,
pub field_count: c_uint,
pub state: enum_mysql_stmt_state,
pub last_error: [c_char; 512],
pub sqlstate: [c_char; 6],
pub send_types_to_server: my_bool,
pub bind_param_done: my_bool,
pub bind_result_done: c_uchar,
pub unbuffered_fetch_cancelled: my_bool,
pub update_max_length: my_bool,
pub extension: *mut st_mysql_stmt_extension,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.