diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-09-23 17:17:28 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-09-23 17:17:28 +0200 |
| commit | 7682da81ff4c775eca048aaf0586593fb159cb85 (patch) | |
| tree | e310245e136b21e15696ffee2756cc6f49f6ae73 /crates/rocie-client/src/models/unit.rs | |
| parent | feat(scripts/generate_api_client.sh): Make the API better by configuring the ... (diff) | |
| download | server-7682da81ff4c775eca048aaf0586593fb159cb85.zip | |
chore(crates/rocie-client): Regenerate
Diffstat (limited to 'crates/rocie-client/src/models/unit.rs')
| -rw-r--r-- | crates/rocie-client/src/models/unit.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rocie-client/src/models/unit.rs b/crates/rocie-client/src/models/unit.rs index 95ec588..760d532 100644 --- a/crates/rocie-client/src/models/unit.rs +++ b/crates/rocie-client/src/models/unit.rs @@ -20,13 +20,13 @@ pub struct Unit { #[serde(rename = "full_name_singular")] pub full_name_singular: String, #[serde(rename = "id")] - pub id: uuid::Uuid, + pub id: models::UnitId, #[serde(rename = "short_name")] pub short_name: String, } impl Unit { - pub fn new(full_name_plural: String, full_name_singular: String, id: uuid::Uuid, short_name: String) -> Unit { + pub fn new(full_name_plural: String, full_name_singular: String, id: models::UnitId, short_name: String) -> Unit { Unit { description: None, full_name_plural, |
