Output

io.hireproof.structure.Output
See theOutput companion object
final case class Output[A](results: Results[A], errors: Results[Errors]) extends Structure[A]

Attributes

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

Members list

Concise view

Type members

Types

override type Self[a] = Output[a]

Value members

Concrete methods

def fromResponse(response: Response): Validated[Errors, A]
def modifyResults[T](f: Results[A] => Results[T]): Output[T]
def toResponse(a: Validated[Errors, A]): Response

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