MemberDefinition

zio.blocks.smithy.MemberDefinition
final case class MemberDefinition(name: String, target: ShapeId, traits: List[TraitApplication] = ...)

Defines a member within a shape (structure field, list element, map key/value, union variant).

Value parameters

name

the member name

target

the ShapeId of the target type

traits

the traits applied to this member

Attributes

Source
Shape.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala