final case class const[T](value: Value) extends Schema[T] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- const
- Serializable
- Serializable
- Product
- Equals
- Schema
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
object
ToString
- Attributes
- protected
- Definition Classes
- Schema
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (const[T], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
description: Option[String]
- Definition Classes
- Schema
-
def
discriminationKey: Option[String]
- Definition Classes
- Schema
-
def
duplicate(description: Option[String] = this._description, title: Option[String] = this._title, discriminationKey: Option[String] = this._discriminationKey): Self
- Definition Classes
- Schema
- def ensuring(cond: (const[T]) ⇒ Boolean, msg: ⇒ Any): const[T]
- def ensuring(cond: (const[T]) ⇒ Boolean): const[T]
- def ensuring(cond: Boolean, msg: ⇒ Any): const[T]
- def ensuring(cond: Boolean): const[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jsonType: String
- def mkCopy(): const[T]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
title: Option[String]
- Definition Classes
- Schema
-
def
toDefinition[TT >: T](sig: String): def[TT]
- Definition Classes
- Schema
-
def
toString(): String
- Definition Classes
- const → AnyRef → Any
-
def
validations: Seq[Def[_, _]]
- Definition Classes
- Schema
- val value: Value
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withDescription(x: String): Self
- Definition Classes
- Schema
-
def
withDiscriminationKey(x: String): Self
- Definition Classes
- Schema
-
def
withExtraFrom(x: Schema[_]): Self
- Definition Classes
- Schema
-
def
withTitle(x: String): Self
- Definition Classes
- Schema
-
def
withValidation[TT >: T, B](v: Def[B, _], vs: Def[B, _]*)(implicit bound: Magnet[TT, B]): Self
- Definition Classes
- Schema
-
def
withValidationsAddedFrom(x: Schema[_]): Self
- Definition Classes
- Schema
- def →[B](y: B): (const[T], B)
Deprecated Value Members
-
def
apply(refName: String): Schema[T]
- Definition Classes
- Schema
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0) please use
toDefinition
instead
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from const[T] to StringFormat[const[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.