diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-10-21 09:56:21 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-10-21 09:56:28 +0800 |
| commit | f754675aac96ac04599ec79d609e2c5b08be4561 (patch) | |
| tree | a92a2e4b910593d3593744dd99bae0ba28a44c37 /src/client.rs | |
| parent | b71fae628d97ada84c533ce746d4d7980a9f6d73 (diff) | |
feat: ui
Diffstat (limited to 'src/client.rs')
| -rw-r--r-- | src/client.rs | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |
