pub struct OkPacket {
pub affected_rows: u64,
pub last_insert_id: u64,
pub status_flags: u16,
pub warnings: u16,
pub info: String,
}Expand description
Parsed OK packet.
Fields§
§affected_rows: u64Number of affected rows
last_insert_id: u64Last insert ID
status_flags: u16Server status flags
warnings: u16Number of warnings
info: StringInfo string (if any)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OkPacket
impl RefUnwindSafe for OkPacket
impl Send for OkPacket
impl Sync for OkPacket
impl Unpin for OkPacket
impl UnwindSafe for OkPacket
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).