Uid

rdts.base.Uid
See theUid companion class
object Uid

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Uid.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def gen(): Uid

Generate a new unique ID. Note, currently collisions are possible as we only ues 6 bytes of random values. Why 6? Because multiples of 3 nicely base64 encode

Generate a new unique ID. Note, currently collisions are possible as we only ues 6 bytes of random values. Why 6? Because multiples of 3 nicely base64 encode

Attributes

def predefined(s: String): Uid
def unwrap(id: Uid): String

Concrete fields

val zero: Uid

Givens

Givens

given derived$CanEqual: CanEqual[Uid, Uid]
given ordering: Ordering[Uid]
inline given toLocal: toLocal

Extensions

Extensions

extension (s: String)
def asId: Uid