derive Copy on VehicleId
This commit is contained in:
parent
7fb468b072
commit
b2e7fd7004
|
@ -166,7 +166,7 @@ trait ApiValues {
|
||||||
/// Vehicle ID used by the owner-api endpoint.
|
/// Vehicle ID used by the owner-api endpoint.
|
||||||
///
|
///
|
||||||
/// This data comes from [`OwnerApi::vehicles()`] `id` field.
|
/// 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);
|
pub struct VehicleId(u64);
|
||||||
|
|
||||||
impl VehicleId {
|
impl VehicleId {
|
||||||
|
|
Loading…
Reference in a new issue