Domain Documentation

Structure User

public struct User: Codable  

see https://github.com/gothinkster/realworld/blob/master/api/swagger.json

User User Codable Codable User->Codable

Conforms To

Codable

Initializers

init(email:​token:​username:​bio:​image:​)

public init(email: String, token: String, username: String, bio: String, image: String)  

Properties

email

public var email: String

token

public var token: String

username

public var username: String

bio

public var bio: String

image

public var image: String