User

public struct User: Codable

Undocumented

  • id

    Undocumented

    Declaration

    Swift

    public let id, username, profilePicture, fullName: String
  • bio

    Undocumented

    Declaration

    Swift

    public let bio, website: String
  • Undocumented

    Declaration

    Swift

    public let isBusiness: Bool
  • Undocumented

    Declaration

    Swift

    init(data: Data) throws
  • Undocumented

    Declaration

    Swift

    init(_ json: String, using encoding: String.Encoding = .utf8) throws
  • Undocumented

    Declaration

    Swift

    init(fromURL url: URL) throws
  • Undocumented

    Declaration

    Swift

    func jsonData() throws -> Data
  • Undocumented

    Declaration

    Swift

    func jsonString(encoding: String.Encoding = .utf8) throws -> String?