pub struct StmtPacket { /* private fields */ }Expand description
Represents MySql’s statement packet.
Implementations§
Source§impl StmtPacket
impl StmtPacket
Sourcepub fn statement_id(&self) -> u32
pub fn statement_id(&self) -> u32
Value of the statement_id field of a statement packet.
Sourcepub fn num_columns(&self) -> u16
pub fn num_columns(&self) -> u16
Value of the num_columns field of a statement packet.
Sourcepub fn num_params(&self) -> u16
pub fn num_params(&self) -> u16
Value of the num_params field of a statement packet.
Sourcepub fn warning_count(&self) -> u16
pub fn warning_count(&self) -> u16
Value of the warning_count field of a statement packet.
Trait Implementations§
Source§impl Clone for StmtPacket
impl Clone for StmtPacket
Source§fn clone(&self) -> StmtPacket
fn clone(&self) -> StmtPacket
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 StmtPacket
impl Debug for StmtPacket
Source§impl Hash for StmtPacket
impl Hash for StmtPacket
Source§impl<'de> MyDeserialize<'de> for StmtPacket
impl<'de> MyDeserialize<'de> for StmtPacket
Source§impl MySerialize for StmtPacket
impl MySerialize for StmtPacket
Source§impl PartialEq for StmtPacket
impl PartialEq for StmtPacket
impl Eq for StmtPacket
impl StructuralPartialEq for StmtPacket
Auto Trait Implementations§
impl Freeze for StmtPacket
impl RefUnwindSafe for StmtPacket
impl Send for StmtPacket
impl Sync for StmtPacket
impl Unpin for StmtPacket
impl UnwindSafe for StmtPacket
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