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
- Product
- Equals
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
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
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val schema: Schema[T]
Deprecated Value Members
- def →[B](y: B): (Predef[T], B)
- Implicit
- This member is added by an implicit conversion from Predef[T] toArrowAssoc[Predef[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.