play.api.data.mapping

Rule

Related Docs: trait Rule | package mapping

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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

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

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

  6. def apply[I, O](m: Mapping[(Path, Seq[ValidationError]), I, O]): Rule[I, O]

  7. final def asInstanceOf[T0]: T0

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

  9. def clone(): AnyRef

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

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

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

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

  14. def finalize(): Unit

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

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

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

  18. macro def gen[I, O]: Rule[I, O]

  19. final def getClass(): Class[_]

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

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

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

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

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

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

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

  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. 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")))
     }
  29. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped