Struct bancho_packets::server::LoginReply
source · pub struct LoginReply {
pub login_result: LoginResult,
}Expand description
#5: BANCHO_USER_LOGIN_REPLY
Fields§
§login_result: LoginResultImplementations§
source§impl LoginReply
impl LoginReply
pub fn new(login_result: LoginResult) -> Self
pub fn pack(login_result: LoginResult) -> Vec<u8> ⓘ
Trait Implementations§
source§impl BanchoPacket for LoginReply
impl BanchoPacket for LoginReply
source§impl BanchoPacketLength for LoginReply
impl BanchoPacketLength for LoginReply
source§impl Clone for LoginReply
impl Clone for LoginReply
source§fn clone(&self) -> LoginReply
fn clone(&self) -> LoginReply
Returns a copy 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 LoginReply
impl Debug for LoginReply
source§impl Default for LoginReply
impl Default for LoginReply
source§fn default() -> LoginReply
fn default() -> LoginReply
Returns the “default value” for a type. Read more