final case class Set[A](elementSchema: Schema[A], annotations: Chunk[Any] = Chunk.empty) extends Collection[scala.collection.immutable.Set[A], A] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Set
  2. Serializable
  3. Product
  4. Equals
  5. Collection
  6. Schema
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Set(elementSchema: Schema[A], annotations: Chunk[Any] = Chunk.empty)

Type Members

  1. type Accessors[Lens[_, _, _], Prism[_, _, _], Traversal[_, _]] = Traversal[scala.collection.immutable.Set[A], A]
    Definition Classes
    SetSchema
  2. type ElementType = A

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def <*>[B](that: Schema[B]): Schema[(scala.collection.immutable.Set[A], B)]

    A symbolic operator for zip.

    A symbolic operator for zip.

    Definition Classes
    Schema
  4. def <+>[B](that: Schema[B]): Schema[scala.util.Either[scala.collection.immutable.Set[A], B]]

    A symbolic operator for orElseEither.

    A symbolic operator for orElseEither.

    Definition Classes
    Schema
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def ?: Schema[Option[scala.collection.immutable.Set[A]]]

    A symbolic operator for optional.

    A symbolic operator for optional.

    Definition Classes
    Schema
  7. def annotate(annotation: Any): Set[A]

    Returns a new schema that with annotation

    Returns a new schema that with annotation

    Definition Classes
    SetSchema
  8. val annotations: Chunk[Any]

    Chunk of annotations for this schema

    Chunk of annotations for this schema

    Definition Classes
    SetSchema
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def ast: MetaSchema
    Definition Classes
    Schema
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def coerce[B](newSchema: Schema[B]): scala.Either[String, Schema[B]]

    Convert to Schema[B] iff B and A are homomorphic.

    Convert to Schema[B] iff B and A are homomorphic.

    This can be used to e.g convert between a case class and it's "generic" representation as a ListMap[String,_]

    Definition Classes
    Schema
  13. def defaultValue: scala.util.Either[String, scala.collection.immutable.Set[A]]

    The default value for a Schema of type A.

    The default value for a Schema of type A.

    Definition Classes
    SetSchema
  14. def diff(thisValue: scala.collection.immutable.Set[A], thatValue: scala.collection.immutable.Set[A]): Patch[scala.collection.immutable.Set[A]]

    Performs a diff between thisValue and thatValue.

    Performs a diff between thisValue and thatValue. See zio.schema.Differ for details on the default diff algorithms.

    Definition Classes
    Schema
  15. val elementSchema: Schema[A]
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def fromDynamic(value: DynamicValue): scala.util.Either[String, scala.collection.immutable.Set[A]]
    Definition Classes
    Schema
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def makeAccessors(b: AccessorBuilder): Traversal[scala.collection.immutable.Set[A], A]
    Definition Classes
    SetSchema
  22. def migrate[B](newSchema: Schema[B]): scala.Either[String, (scala.collection.immutable.Set[A]) => scala.util.Either[String, B]]

    Generate a homomorphism from A to B iff A and B are homomorphic

    Generate a homomorphism from A to B iff A and B are homomorphic

    Definition Classes
    Schema
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def optional: Schema[Option[scala.collection.immutable.Set[A]]]

    Returns a new schema that modifies the type produced by this schema to be optional.

    Returns a new schema that modifies the type produced by this schema to be optional.

    Definition Classes
    Schema
  27. def orElseEither[B](that: Schema[B]): Schema[scala.util.Either[scala.collection.immutable.Set[A], B]]

    Returns a new schema that combines this schema and the specified schema together, modeling their either composition.

    Returns a new schema that combines this schema and the specified schema together, modeling their either composition.

    Definition Classes
    Schema
  28. def ordering: Ordering[scala.collection.immutable.Set[A]]
    Definition Classes
    Schema
  29. def patch(oldValue: scala.collection.immutable.Set[A], diff: Patch[scala.collection.immutable.Set[A]]): scala.util.Either[String, scala.collection.immutable.Set[A]]

    Patch value with a Patch.

    Patch value with a Patch.

    Definition Classes
    Schema
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. def repeated: Schema[Chunk[scala.collection.immutable.Set[A]]]
    Definition Classes
    Schema
  32. def serializable: Schema[Schema[scala.collection.immutable.Set[A]]]
    Definition Classes
    Schema
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toDynamic(value: scala.collection.immutable.Set[A]): DynamicValue
    Definition Classes
    Schema
  35. def transform[B](f: (scala.collection.immutable.Set[A]) => B, g: (B) => scala.collection.immutable.Set[A])(implicit loc: SourceLocation): Schema[B]

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B, without possibility of failure.

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B, without possibility of failure.

    Definition Classes
    Schema
  36. def transformOrFail[B](f: (scala.collection.immutable.Set[A]) => scala.util.Either[String, B], g: (B) => scala.util.Either[String, scala.collection.immutable.Set[A]])(implicit loc: SourceLocation): Schema[B]

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B (possibly failing in some cases).

    Transforms this Schema[A] into a Schema[B], by supplying two functions that can transform between A and B (possibly failing in some cases).

    Definition Classes
    Schema
  37. def validate(value: scala.collection.immutable.Set[A])(implicit schema: Schema[scala.collection.immutable.Set[A]]): Chunk[ValidationError]
    Definition Classes
    Schema
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. def zip[B](that: Schema[B]): Schema[(scala.collection.immutable.Set[A], B)]

    Returns a new schema that combines this schema and the specified schema together, modeling their tuple composition.

    Returns a new schema that combines this schema and the specified schema together, modeling their tuple composition.

    Definition Classes
    Schema

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped