Newtype

smithy4s.Newtype
See theNewtype companion object
abstract opaque class Newtype[A] extends HasId

Attributes

Companion
object
Graph
Supertypes
trait HasId
class Object
trait Matchable
class Any
Known subtypes
object HttpMediaType
object Auth
object Default
object Documentation
object Enum
object EnumValue
object Examples
object HttpError
object HttpHeader
object HttpQuery
object JsonName
object MediaType
object Pattern
object References
object Since
object Suppress
object Tags
object Title
object TraitShapeId
object XmlName
object Acceptors
object Waitable
object WaiterDelay
object WaiterName
object ProtoIndex
object DataExamples
object DefaultValue
object Discriminated
object UrlFormName
Show all
Self type
Newtype[A]

Members list

Type members

Classlikes

object hint

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
hint.type

Types

opaque type Type

Value members

Abstract methods

Concrete methods

def apply(a: A): Type
def unapply(orig: Type): Some[A]

Inherited methods

def id: ShapeId

Attributes

Inherited from:
HasId

Extensions

Extensions

extension (orig: Type)
def value: A

Implicits

Implicits

implicit val asBijection: Bijection[A, Type]
implicit val tag: ShapeTag[Type]