warning
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
pub const CLIENT_DATA: &str = "client_data";
|
||||
|
||||
#[derive(bincode::Encode, bincode::Decode)]
|
||||
#[derive(Default, bincode::Encode, bincode::Decode)]
|
||||
pub struct ClientData {
|
||||
pub ip: String,
|
||||
pub username: String,
|
||||
}
|
||||
|
||||
impl Default for ClientData {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
ip: String::new(),
|
||||
username: String::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user