Header

io.hireproof.structure.Header
See theHeader companion object
final case class Header[A](name: CIString, schema: Eval[Schema[A]]) extends Product[A]

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Product[A]
trait Structure[A]
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Types

override type Element[a] = Header[a]
override type Group[a] = Headers[a]
override type Self[a] = Header[a]

Value members

Concrete methods

def fromStringChain(headers: Chain[(CIString, String)]): Validated[Errors, (Chain[(CIString, String)], A)]
def mapSchema[T](f: Schema[A] => Schema[T]): Header[T]
def toStringChain(a: A): Chain[(CIString, String)]
override def zip[T](header: Header[T]): Headers[(A, T)]

Attributes

Definition Classes
override def zipAll[T](headers: Headers[T]): Headers[(A, T)]

Attributes

Definition Classes

Inherited methods

final def const(value: => A): Self[Unit]

Attributes

Inherited from:
Structure
final def imap[T](f: A => T)(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def ivalidate[T](validation: Validation[A, T])(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def merge[T](implicit evidence: Aux[A, T]): Self[T]

Attributes

Inherited from:
Structure
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def validate(validation: Validation[A, A]): Self[A]

Attributes

Inherited from:
Structure
final def ximap[T](implicit evidence: Aux[T, A]): Self[T]

Attributes

Inherited from:
Product
final def |*|[T](element: Header[T])(implicit evidence: Merger[(A, T)]): Group[Out]

Attributes

Inherited from:
Product