aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2022-10-18 17:01:28 +0000
committerUbuntu <github@matdoes.dev>2022-10-18 17:01:28 +0000
commit43799946dad45b9bdd146475cb205a1ce08b5dfc (patch)
tree19795fbd546c9a91836386d427e488bcbce7737c /azalea-client/src
parente0dc937d88ff7eb79b2bdd790ee99ce62046ecba (diff)
downloadazalea-drasl-43799946dad45b9bdd146475cb205a1ce08b5dfc.tar.xz
make Account clonable
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/account.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-client/src/account.rs b/azalea-client/src/account.rs
index 94e84ab8..fc34d6c4 100644
--- a/azalea-client/src/account.rs
+++ b/azalea-client/src/account.rs
@@ -6,6 +6,7 @@ use tokio::sync::mpsc::UnboundedReceiver;
use uuid::Uuid;
/// Something that can join Minecraft servers.
+#[derive(Clone, Debug)]
pub struct Account {
pub username: String,
/// The access token for authentication. You can obtain one of these