pub fn warnings(&self) -> u16 {
        self.0
            .ok_packet
            .as_ref()
            .map(OkPacket::warnings)
            .unwrap_or_default()
    }
/// Returns number of warnings, reported by the server.
Returns number of warnings, reported by the server.
Returns number of warnings reported by the server .
pub fn warnings(&self) -> u16 {
        self.0
            .ok_packet
            .as_ref()
            .map(OkPacket::warnings)
            .unwrap_or_default()
    }
pub fn warnings ( & self ) -> u16 { self . 0 . ok_packet . as_ref ( ) . map ( OkPacket :: warnings ) . unwrap_or_default ( ) }
Returns number of warnings, reported by the server.
Returns number of warnings reported by the server .
&self