From b2e7fd700473120338056b5e11f6b45d23c0b385 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Tue, 9 Jan 2024 11:10:46 +1100 Subject: [PATCH] derive Copy on VehicleId --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 048e838..dbdc2d9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -166,7 +166,7 @@ trait ApiValues { /// Vehicle ID used by the owner-api endpoint. /// /// This data comes from [`OwnerApi::vehicles()`] `id` field. -#[derive(Debug, Serialize, Deserialize, Clone, Display, FromStr, From, Deref)] +#[derive(Debug, Serialize, Deserialize, Clone, Copy, Display, FromStr, From, Deref)] pub struct VehicleId(u64); impl VehicleId {