derive Copy on VehicleId

This commit is contained in:
Alex Janka 2024-01-09 11:10:46 +11:00
parent 677d959e6d
commit 9ecf21554e

View file

@ -163,7 +163,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 {