about summary refs log tree commit diff stats
path: root/crates/rocie-client/src/models/unit_stub.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-09 13:12:31 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-12-09 13:12:31 +0100
commit7565c34d69ee259fef3ac9813d689d97689a6d58 (patch)
treeee4f00e3d090ec288d481cc92781e55637619824 /crates/rocie-client/src/models/unit_stub.rs
parentfeat(rocie-server): Implement basic user handling and authentication (diff)
downloadserver-7565c34d69ee259fef3ac9813d689d97689a6d58.zip
style(rocie-client): Format
Diffstat (limited to 'crates/rocie-client/src/models/unit_stub.rs')
-rw-r--r--crates/rocie-client/src/models/unit_stub.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/rocie-client/src/models/unit_stub.rs b/crates/rocie-client/src/models/unit_stub.rs
index 162674f..accad53 100644
--- a/crates/rocie-client/src/models/unit_stub.rs
+++ b/crates/rocie-client/src/models/unit_stub.rs
@@ -26,7 +26,12 @@ pub struct UnitStub {
 }
 
 impl UnitStub {
-    pub fn new(full_name_plural: String, full_name_singular: String, short_name: String, unit_property: models::UnitPropertyId) -> UnitStub {
+    pub fn new(
+        full_name_plural: String,
+        full_name_singular: String,
+        short_name: String,
+        unit_property: models::UnitPropertyId,
+    ) -> UnitStub {
         UnitStub {
             description: None,
             full_name_plural,
@@ -36,4 +41,3 @@ impl UnitStub {
         }
     }
 }
-