StringCompanion

com.malliina.values.StringCompanion
abstract class StringCompanion[T <: WrappedString] extends JsonCompanion[String, T]

Attributes

Graph
Supertypes
class JsonCompanion[String, T]
class ValidatingCompanion[String, T]
class Object
trait Matchable
class Any
Known subtypes
object AccessToken.type
object Email.type
object ErrorMessage.type
object IdToken.type
object Password.type
object RefreshToken.type
object UnixPath.type
object Username.type
Show all

Members list

Value members

Concrete methods

override def write(t: T): String

Attributes

Definition Classes

Inherited methods

def apply(raw: String): T

Attributes

Inherited from:
JsonCompanion
override def build(input: String): Either[ErrorMessage, T]

Attributes

Definition Classes
Inherited from:
JsonCompanion
def defaultError(in: String): ErrorMessage

Attributes

Inherited from:
ValidatingCompanion

Implicits

Implicits

implicit val readable: Readable[T]

Inherited implicits

implicit val json: Codec[T]

Attributes

Inherited from:
ValidatingCompanion
implicit val ordering: Ordering[T]

Attributes

Inherited from:
ValidatingCompanion