This commit is contained in:
vcoppe
2026-10-03 19:08:56 +02:00
parent a994e16f51
commit 438a87f06f
13 changed files with 686 additions and 29 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ impl TrackpointChunk {
}
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct WaypointChunkId(Uuid);
impl Default for WaypointChunkId {
+2 -2
View File
@@ -5,7 +5,7 @@ use uuid::Uuid;
use crate::{Trackpoint, TrackpointChunk};
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct TrackSegmentId(Uuid);
pub struct TrackSegmentId(pub Uuid);
impl Default for TrackSegmentId {
fn default() -> Self {
@@ -14,7 +14,7 @@ impl Default for TrackSegmentId {
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct TrackSegmentRevisionId(Uuid);
pub struct TrackSegmentRevisionId(pub Uuid);
impl Default for TrackSegmentRevisionId {
fn default() -> Self {
+1 -1
View File
@@ -3,7 +3,7 @@ use uuid::Uuid;
use crate::{Link, TrackSegment};
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct TrackId(Uuid);
pub struct TrackId(pub Uuid);
impl Default for TrackId {
fn default() -> Self {
+1 -1
View File
@@ -3,7 +3,7 @@ use uuid::Uuid;
use crate::{Link, LngLat};
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct WaypointId(Uuid);
pub struct WaypointId(pub Uuid);
impl Default for WaypointId {
fn default() -> Self {