Struct rbdc_mysql::protocol::connect::HandshakeResponse
source · pub struct HandshakeResponse<'a> {
pub database: Option<&'a str>,
pub max_packet_size: u32,
pub collation: u8,
pub username: &'a str,
pub auth_plugin: Option<AuthPlugin>,
pub auth_response: Option<&'a [u8]>,
}
Fields§
§database: Option<&'a str>
§max_packet_size: u32
Max size of a command packet that the client wants to send to the server
collation: u8
Default collation for the connection
username: &'a str
Name of the SQL account which client wants to log in
auth_plugin: Option<AuthPlugin>
Authentication method used by the client
auth_response: Option<&'a [u8]>
Opaque authentication response