final case class Predef[+T](schema: Schema[T]) extends AnyVal with Product with Serializable
The idea behind Predef is a continuation of the idea about exposing
schemas that was found in implicit scope as ref
. Namely, if schema
is derived - it will be defined im-place inside of a json-schema, but
if it's implicitly available - goint to be a ref
.
So Predef changes it by adding another class of implicitly
defined schemas which won't become a ref
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Predef
- Serializable
- Serializable
- Product
- Equals
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (Predef[T], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (Predef[T]) ⇒ Boolean, msg: ⇒ Any): Predef[T]
- def ensuring(cond: (Predef[T]) ⇒ Boolean): Predef[T]
- def ensuring(cond: Boolean, msg: ⇒ Any): Predef[T]
- def ensuring(cond: Boolean): Predef[T]
- def formatted(fmtstr: String): String
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val schema: Schema[T]
- def →[B](y: B): (Predef[T], B)