From 719a2bc43a6ba56935acfd4172cb95b88af8a5de Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 9 Jun 2026 22:51:22 +0200 Subject: [PATCH] ULID dokumentiert --- src/scalar.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scalar.rs b/src/scalar.rs index 81abc89..76aa7e1 100644 --- a/src/scalar.rs +++ b/src/scalar.rs @@ -16,6 +16,9 @@ pub type Id = uuid::Uuid; pub struct Ulid(pub UlidPrimitive); #[Scalar] +/// The ULID scalar type represents a Universally Unique Lexicographically Sortable Identifier as defined by the ULID specification. +/// ULIDs are 26-character strings that are URL-safe, case-insensitive, and lexicographically sortable, +/// making them ideal for distributed systems requiring time-ordered unique identifiers. impl ScalarType for Ulid { fn parse(value: Value) -> InputValueResult { match value {