blob: 3ad8d16e64e881cc7b94466703f929566945b9bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Stable identifier for a User. Prefixed with `U`. Users created before March, 2025 may have an `L`
// prefix, instead.
pub type Id = crate::id::Id<User>;
#[derive(Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct User;
impl crate::id::Prefix for User {
fn prefix(&self) -> &'static str {
"U"
}
}
|