From f754675aac96ac04599ec79d609e2c5b08be4561 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 21 Oct 2025 09:56:21 +0800 Subject: feat: ui --- src/client.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/client.rs') diff --git a/src/client.rs b/src/client.rs index 5edba62..457a70d 100644 --- a/src/client.rs +++ b/src/client.rs @@ -6,6 +6,14 @@ pub struct Client { id: u32, } +impl Client { + pub fn new(id: u32) -> Self { + Self { + id, + } + } +} + impl Default for Client { fn default() -> Self { Self { -- cgit v1.2.3