Empty

harness.endpoint.spec.PathCodec$.Empty$
case object Empty extends PathCodec[Unit]

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PathCodec[Unit]
class Object
trait Matchable
class Any
Show all
Self type
Empty.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Value members

Concrete methods

override def decodePathInternal(paths: List[String]): Option[(Unit, List[String])]

Attributes

Definition Classes
override def encodePath(o: Unit): List[String]

Attributes

Definition Classes

Inherited methods

final def /[B](p: String): PathCodec[A]

Attributes

Inherited from:
PathCodec
final def /[B](that: PathCodec[B])(implicit z: Zip[Unit, B]): PathCodec[Out]

Attributes

Inherited from:
PathCodec
final def decodePath(paths: List[String]): Option[A]

Attributes

Inherited from:
PathCodec
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
final def imap[B](to: Unit => B, from: B => Unit): PathCodec[B]

Attributes

Inherited from:
PathCodec
final def imapDecode[B](to: Unit => Option[B], from: B => Unit): PathCodec[B]

Attributes

Inherited from:
PathCodec
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val schemas: NonEmptyList[List[PathSchema]]