made cloneable

This commit is contained in:
Mitchell 2020-06-04 13:47:52 +00:00
parent e4066b96bd
commit b2dd06728c
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#[derive(Clone)]
pub struct Client{
pub uuid: String,
pub username: String,
@ -13,7 +14,7 @@ impl Client{
&self.username
}
pub fn get_addres(&self) -> &String{
pub fn get_address(&self) -> &String{
&self.address
}
}