FromTuple

info.fingo.spata.converter.FromTuple
See theFromTuple companion object
trait FromTuple[-T <: Tuple]

Converter from a tuple to a record.

This trait defines behavior to be implemented by concrete, given converters.

Type parameters

P

type of source entity

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object fromEmpty.type

Members list

Value members

Concrete methods

def encode(t: T): Record

Converts tuple to record.

Converts tuple to record.

Value parameters

t

the source tuple to be converted.

Attributes

Returns

the record with field from provided tuple.