play.api.data.mapping

Rule

object Rule

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rule
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit def ao[I, O]: (Rule[I, O]) ⇒ ApplicativeOps[[O]Rule[I, O], O]

  7. implicit def applicativeRule[I]: Applicative[[O]Rule[I, O]]

  8. def apply[I, O](m: (I) ⇒ Validation[(Path, Seq[ValidationError]), O]): Rule[I, O]

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. implicit def cba[I]: FunctionalCanBuild[[O]Rule[I, O]]

  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. implicit def f[I, O]: (Rule[I, O]) ⇒ FunctorOps[[O]Rule[I, O], O]

  15. implicit def fbo[I, O]: (Rule[I, O]) ⇒ FunctionalBuilderOps[[O]Rule[I, O], O]

  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def fromMapping[I, O](f: (I) ⇒ Validation[ValidationError, O]): Rule[I, O]

  18. implicit def functorExtractorRule[I, O]: VariantExtractor[[O]Rule[I, O]]

  19. implicit def functorRule[I]: Functor[[O]Rule[I, O]]

  20. def gen[I, O]: Rule[I, O]

    Annotations
    @macroImpl( ... )
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toRule[I, O](r: RuleLike[I, O]): Rule[I, O]

  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def uncurry[A, B, C](f: (A) ⇒ Rule[B, C]): Rule[(A, B), C]

    Turn a A => Rule[B, C] into a Rule[(A, B), C]

    Turn a A => Rule[B, C] into a Rule[(A, B), C]

    val passRule = From[JsValue] { __ =>
    ((__ \ "password").read(notEmpty) ~ (__ \ "verify").read(notEmpty))
      .tupled.compose(Rule.uncurry(Rules.equalTo[String]).repath(_ => (Path \ "verify")))
    }
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. implicit def zero[O]: Rule[O, O]

Inherited from AnyRef

Inherited from Any

Ungrouped