Struct uosql::types::Login [] [src]

pub struct Login {
    pub username: String,
    pub password: String,
}

The client responds with this packet to a Greeting packet, finishing the authentication handshake.

Fields

username
password

Trait Implementations

Derived Implementations

impl Decodable for Login

fn decode<__D>(__arg_0: &mut __D) -> Result<Login, __D::Error> where __D: Decoder

impl Encodable for Login

fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), __S::Error> where __S: Encoder

impl Default for Login

fn default() -> Login