use typed_id::Id;
struct Customer {
name: String,
}
type CustomerId = Id<i32, Customer>;
let customer_id = CustomerId::new(1);-
Notifications
You must be signed in to change notification settings - Fork 0
Typed ID for Rust
License
byte-sourcerer/typed_id2
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|