CityId

object CityId extends Newtype[String]
class Newtype[String]
trait HasId
class Object
trait Matchable
class Any
CityId.type

Type members

Inherited types

opaque type Type
Inherited from:
Newtype

Value members

Inherited methods

def apply(a: String): Type
Inherited from:
Newtype
def unapply(orig: Type): Some[String]
Inherited from:
Newtype

Concrete fields

val hints: Hints
val id: ShapeId
val schema: Schema[CityId]
val underlyingSchema: Schema[String]

Extensions

Inherited extensions

extension (orig: Type)
def value: String
Inherited from:
Newtype

Implicits

Implicits

implicit val staticSchema: Static[Schema[CityId]]

Inherited implicits

implicit val tag: ShapeTag[Type]
Inherited from:
Newtype