Struct mysql_common::packets::OkPacket [] [src]

pub struct OkPacket<'a> { /* fields omitted */ }

Represents MySql's Ok packet.

Methods

impl<'a> OkPacket<'a>
[src]

Value of the affected_rows field of an Ok packet.

Value of the last_insert_id field of an Ok packet.

Value of the status_flags field of an Ok packet.

Value of the warnings field of an Ok packet.

Value of the info field of an Ok packet as a byte slice.

Value of the info field of an Ok packet as a string (lossy converted).

Trait Implementations

impl<'a> Clone for OkPacket<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Eq for OkPacket<'a>
[src]

impl<'a> PartialEq for OkPacket<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Debug for OkPacket<'a>
[src]

Formats the value using the given formatter.